public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: hdmi: Add common TMDS character rate constants
Date: Mon, 25 May 2026 21:45:00 +1000	[thread overview]
Message-ID: <review-overall-20260520144424.1633354-1-javierm@redhat.com> (raw)
In-Reply-To: <20260520144424.1633354-1-javierm@redhat.com>

Overall Series Review

Subject: hdmi: Add common TMDS character rate constants
Author: Javier Martinez Canillas <javierm@redhat.com>
Patches: 12
Reviewed: 2026-05-25T21:45:00.940491

---

This is a clean, well-structured cleanup series that introduces shared TMDS character rate constants in `<linux/hdmi.h>` and replaces per-driver local defines and magic numbers across 7 DRM drivers. The goal is improved readability, correctness (fixing HDMI spec version attributions in naming), and consistency.

**Key observations:**

1. **Patch 1/8 is missing from the mbox.** This is the foundational patch ("video/hdmi: Add common TMDS character rate constants") that adds the constants to `<linux/hdmi.h>`. All other patches depend on it. Without reviewing the actual definitions, I'm inferring the constant values from usage: `HDMI_TMDS_CHAR_RATE_MIN_HZ` = 25 MHz, `HDMI_1_0_TMDS_CHAR_RATE_MAX_HZ` = 165 MHz, `HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ` = 340 MHz, `HDMI_2_0_TMDS_CHAR_RATE_MAX_HZ` = 600 MHz.

2. **The naming convention (`HDMI_$SPEC_TMDS_CHAR_RATE_MAX_HZ`) is clear and follows v2 feedback.** The spec version attribution corrections (e.g., 340 MHz is HDMI 1.3, not 1.4) are accurate.

3. **All numeric replacements are value-correct** -- each constant maps to exactly the same value as the macro/magic number it replaces.

4. **Include dependencies are satisfied** in all drivers, either directly or transitively.

5. **The series is low-risk** -- purely mechanical, no behavioral changes.

The series looks good overall. One minor concern noted below for patches 7 and 8.

---

---
Generated by Claude Code Patch Reviewer

      parent reply	other threads:[~2026-05-25 11:45 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-20 14:43 [PATCH v2 0/8] hdmi: Add common TMDS character rate constants Javier Martinez Canillas
2026-05-20 14:43 ` [PATCH v2 2/8] drm/bridge: dw-hdmi: Use the common TMDS char rate constant Javier Martinez Canillas
2026-05-25 11:45   ` Claude review: " Claude Code Review Bot
2026-05-20 14:43 ` [PATCH v2 3/8] drm/bridge: dw-hdmi-qp: " Javier Martinez Canillas
2026-05-21  8:53   ` Heiko Stuebner
2026-05-25 11:45   ` Claude review: " Claude Code Review Bot
2026-05-20 14:43 ` [PATCH v2 4/8] drm/bridge: inno-hdmi: " Javier Martinez Canillas
2026-05-25 11:45   ` Claude review: " Claude Code Review Bot
2026-05-20 14:43 ` [PATCH v2 5/8] drm/sti: hdmi: Use the common TMDS char rate constants Javier Martinez Canillas
2026-05-25 11:45   ` Claude review: " Claude Code Review Bot
2026-05-20 14:43 ` [PATCH v2 6/8] drm/sun4i: hdmi: Use the common TMDS char rate constant Javier Martinez Canillas
2026-05-25 11:45   ` Claude review: " Claude Code Review Bot
2026-05-20 14:43 ` [PATCH v2 7/8] drm/msm/hdmi: Use the common TMDS char rate constants in 8996 PHY Javier Martinez Canillas
2026-05-25 11:45   ` Claude review: " Claude Code Review Bot
2026-05-20 14:43 ` [PATCH v2 8/8] drm/msm/hdmi: Use the common TMDS char rate constants in 8998 PHY Javier Martinez Canillas
2026-05-25 11:45   ` Claude review: " Claude Code Review Bot
     [not found] ` <20260520144424.1633354-2-javierm@redhat.com>
2026-05-20 15:01   ` [PATCH v2 1/8] video/hdmi: Add common TMDS character rate constants Javier Martinez Canillas
2026-05-25 11:45     ` Claude review: " Claude Code Review Bot
2026-05-20 16:28 ` [PATCH v2 0/8] hdmi: " Maxime Ripard
2026-05-21  9:59 ` Javier Martinez Canillas
2026-05-25 11:45 ` Claude Code Review Bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=review-overall-20260520144424.1633354-1-javierm@redhat.com \
    --to=claude-review@example.com \
    --cc=dri-devel-reviews@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox