* [PATCH v2 0/8] hdmi: Add common TMDS character rate constants
@ 2026-05-20 14:43 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
` (10 more replies)
0 siblings, 11 replies; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-20 14:43 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Abhinav Kumar, Alain Volmat,
Andrzej Hajda, Andy Yan, Brian Masney, Chen-Yu Tsai, Chris Morgan,
Cristian Ciocaltea, Daniel Stone, David Airlie, Dmitry Baryshkov,
Dmitry Baryshkov, Heiko Stuebner, Jani Nikula, Jernej Skrabec,
Jessica Zhang, Jonas Karlman, Konrad Dybcio, Laurent Pinchart,
Liu Ying, Luca Ceresoli, Maarten Lankhorst, Marijn Suijten,
Maxime Ripard, Neil Armstrong, Raphael Gallais-Pou, Rob Clark,
Robert Foss, Samuel Holland, Sean Paul, Shengjiu Wang,
Simona Vetter, Thomas Zimmermann, dri-devel, freedreno,
linux-arm-kernel, linux-arm-msm, linux-sunxi
Several DRM drivers define their own local macros or use magic numbers for
the standard HDMI TMDS character rate limits. Maxime Ripard suggested that
instead these common rate constants could be included to a shared header.
This series introduces these constants to the <linux/hdmi.h> header and
replaces the local defined constants or magic numbers in drivers.
I split the changes as one patch per driver, so that these can be reviewed
individually and merged at their own pace.
This is a version 2 that addresses issues pointed out by Maxime Ripard and
Dmitry Baryshkov.
Changes in v2:
- Change naming convention to HDMI_$SPEC_TMDS_CHAR_RATE_MAX_HZ (Maxime).
- Define the constants in <linux/hdmi.h> (Dmitry).
Javier Martinez Canillas (8):
video/hdmi: Add common TMDS character rate constants
drm/bridge: dw-hdmi: Use the common TMDS char rate constant
drm/bridge: dw-hdmi-qp: Use the common TMDS char rate constant
drm/bridge: inno-hdmi: Use the common TMDS char rate constant
drm/sti: hdmi: Use the common TMDS char rate constants
drm/sun4i: hdmi: Use the common TMDS char rate constant
drm/msm/hdmi: Use the common TMDS char rate constants in 8996 PHY
drm/msm/hdmi: Use the common TMDS char rate constants in 8998 PHY
drivers/gpu/drm/bridge/inno-hdmi.c | 4 +---
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 6 ++----
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 10 ++++------
drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 6 ++----
drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 6 ++----
drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c | 6 ++++--
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 4 ++--
include/linux/hdmi.h | 6 ++++++
8 files changed, 23 insertions(+), 25 deletions(-)
--
2.54.0
base-commit: 88658ff0e4e7f46dbf8179af1280f2cb295fb0cb
branch: add-common-tmds-rates-v2
^ permalink raw reply [flat|nested] 21+ messages in thread
* [PATCH v2 2/8] drm/bridge: dw-hdmi: Use the common TMDS char rate constant
2026-05-20 14:43 [PATCH v2 0/8] hdmi: Add common TMDS character rate constants Javier Martinez Canillas
@ 2026-05-20 14:43 ` 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
` (9 subsequent siblings)
10 siblings, 1 reply; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-20 14:43 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Maxime Ripard, Heiko Stuebner,
Neil Armstrong, Andrzej Hajda, David Airlie, Dmitry Baryshkov,
Jani Nikula, Jernej Skrabec, Jonas Karlman, Laurent Pinchart,
Liu Ying, Luca Ceresoli, Maarten Lankhorst, Robert Foss,
Shengjiu Wang, Simona Vetter, Thomas Zimmermann, dri-devel
Replace the driver local HDMI14_MAX_TMDSCLK define with the shared
constant defined in the <linux/hdmi.h> header.
The local define incorrectly referenced HDMI 1.4, but the 340 MHz
maximum TMDS character rate was actually introduced in HDMI 1.3.
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
---
(no changes since v1)
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index 41b3a9cfa2f5..17d5caedb32e 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@ -51,8 +51,6 @@
/* DW-HDMI Controller >= 0x200a are at least compliant with SCDC version 1 */
#define SCDC_MIN_SOURCE_VERSION 0x1
-#define HDMI14_MAX_TMDSCLK 340000000
-
static const u16 csc_coeff_default[3][4] = {
{ 0x2000, 0x0000, 0x0000, 0x0000 },
{ 0x0000, 0x2000, 0x0000, 0x0000 },
@@ -1426,7 +1424,7 @@ void dw_hdmi_set_high_tmds_clock_ratio(struct dw_hdmi *hdmi,
/* Control for TMDS Bit Period/TMDS Clock-Period Ratio */
if (dw_hdmi_support_scdc(hdmi, display)) {
- if (mtmdsclock > HDMI14_MAX_TMDSCLK)
+ if (mtmdsclock > HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ)
drm_scdc_set_high_tmds_clock_ratio(hdmi->curr_conn, 1);
else
drm_scdc_set_high_tmds_clock_ratio(hdmi->curr_conn, 0);
@@ -1671,7 +1669,7 @@ static int hdmi_phy_configure(struct dw_hdmi *hdmi,
}
/* Wait for resuming transmission of TMDS clock and data */
- if (mtmdsclock > HDMI14_MAX_TMDSCLK)
+ if (mtmdsclock > HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ)
msleep(100);
return dw_hdmi_phy_power_on(hdmi);
@@ -2032,7 +2030,7 @@ static void hdmi_av_composer(struct dw_hdmi *hdmi,
/* Set up HDMI_FC_INVIDCONF */
inv_val = (hdmi->hdmi_data.hdcp_enable ||
(dw_hdmi_support_scdc(hdmi, display) &&
- (vmode->mtmdsclock > HDMI14_MAX_TMDSCLK ||
+ (vmode->mtmdsclock > HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ ||
hdmi_info->scdc.scrambling.low_rates)) ?
HDMI_FC_INVIDCONF_HDCP_KEEPOUT_ACTIVE :
HDMI_FC_INVIDCONF_HDCP_KEEPOUT_INACTIVE);
@@ -2100,7 +2098,7 @@ static void hdmi_av_composer(struct dw_hdmi *hdmi,
/* Scrambling Control */
if (dw_hdmi_support_scdc(hdmi, display)) {
- if (vmode->mtmdsclock > HDMI14_MAX_TMDSCLK ||
+ if (vmode->mtmdsclock > HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ ||
hdmi_info->scdc.scrambling.low_rates) {
/*
* HDMI2.0 Specifies the following procedure:
--
2.54.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v2 3/8] drm/bridge: dw-hdmi-qp: Use the common TMDS char rate constant
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-20 14:43 ` 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
` (8 subsequent siblings)
10 siblings, 2 replies; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-20 14:43 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Maxime Ripard, Neil Armstrong,
Andrzej Hajda, Andy Yan, Chris Morgan, Cristian Ciocaltea,
Daniel Stone, David Airlie, Dmitry Baryshkov, Heiko Stuebner,
Jernej Skrabec, Jonas Karlman, Laurent Pinchart, Luca Ceresoli,
Maarten Lankhorst, Robert Foss, Simona Vetter, Thomas Zimmermann,
dri-devel
Replace the driver local HDMI14_MAX_TMDSCLK define with the shared
constant defined in the <linux/hdmi.h> header.
The local define incorrectly referenced HDMI 1.4, but the 340 MHz
maximum TMDS character rate was actually introduced in HDMI 1.3.
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
---
(no changes since v1)
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
index 0dbb12743609..1c214a8e6dc2 100644
--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
+++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c
@@ -38,8 +38,6 @@
#define DDC_CI_ADDR 0x37
#define DDC_SEGMENT_ADDR 0x30
-#define HDMI14_MAX_TMDSCLK 340000000
-
#define SCRAMB_POLL_DELAY_MS 3000
/*
@@ -835,9 +833,9 @@ dw_hdmi_qp_bridge_tmds_char_rate_valid(const struct drm_bridge *bridge,
/*
* TODO: when hdmi->no_hpd is 1 we must not support modes that
* require scrambling, including every mode with a clock above
- * HDMI14_MAX_TMDSCLK.
+ * HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ.
*/
- if (rate > HDMI14_MAX_TMDSCLK) {
+ if (rate > HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ) {
dev_dbg(hdmi->dev, "Unsupported TMDS char rate: %lld\n", rate);
return MODE_CLOCK_HIGH;
}
--
2.54.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v2 4/8] drm/bridge: inno-hdmi: Use the common TMDS char rate constant
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-20 14:43 ` [PATCH v2 3/8] drm/bridge: dw-hdmi-qp: " Javier Martinez Canillas
@ 2026-05-20 14:43 ` 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
` (7 subsequent siblings)
10 siblings, 1 reply; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-20 14:43 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Maxime Ripard, Heiko Stuebner,
Andrzej Hajda, Andy Yan, David Airlie, Jernej Skrabec,
Jonas Karlman, Laurent Pinchart, Luca Ceresoli, Maarten Lankhorst,
Neil Armstrong, Robert Foss, Simona Vetter, Thomas Zimmermann,
dri-devel
Replace the driver local INNO_HDMI_MIN_TMDS_CLOCK define with the shared
constant defined in the <linux/hdmi.h> header.
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
---
(no changes since v1)
drivers/gpu/drm/bridge/inno-hdmi.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/bridge/inno-hdmi.c b/drivers/gpu/drm/bridge/inno-hdmi.c
index 1091af29ad8f..5fa533a4eb34 100644
--- a/drivers/gpu/drm/bridge/inno-hdmi.c
+++ b/drivers/gpu/drm/bridge/inno-hdmi.c
@@ -31,8 +31,6 @@
#include <drm/display/drm_hdmi_helper.h>
#include <drm/display/drm_hdmi_state_helper.h>
-#define INNO_HDMI_MIN_TMDS_CLOCK 25000000U
-
#define DDC_SEGMENT_ADDR 0x30
#define HDMI_SCL_RATE (100 * 1000)
@@ -820,7 +818,7 @@ static enum drm_mode_status inno_hdmi_bridge_mode_valid(struct drm_bridge *bridg
mpixelclk = mode->clock * 1000;
- if (mpixelclk < INNO_HDMI_MIN_TMDS_CLOCK)
+ if (mpixelclk < HDMI_TMDS_CHAR_RATE_MIN_HZ)
return MODE_CLOCK_LOW;
if (inno_hdmi_find_phy_config(hdmi, mpixelclk) < 0)
--
2.54.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v2 5/8] drm/sti: hdmi: Use the common TMDS char rate constants
2026-05-20 14:43 [PATCH v2 0/8] hdmi: Add common TMDS character rate constants Javier Martinez Canillas
` (2 preceding siblings ...)
2026-05-20 14:43 ` [PATCH v2 4/8] drm/bridge: inno-hdmi: " Javier Martinez Canillas
@ 2026-05-20 14:43 ` 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
` (6 subsequent siblings)
10 siblings, 1 reply; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-20 14:43 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Maxime Ripard, Alain Volmat,
David Airlie, Maarten Lankhorst, Raphael Gallais-Pou,
Simona Vetter, Thomas Zimmermann, dri-devel
Replace the 340000000 and 165000000 magic numbers with the shared
constants defined in the <linux/hdmi.h> header.
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
---
(no changes since v1)
drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c b/drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c
index d25ecd4f4b67..4fe0c54a096f 100644
--- a/drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c
+++ b/drivers/gpu/drm/sti/sti_hdmi_tx3g4c28phy.c
@@ -4,6 +4,8 @@
* Author: Vincent Abriou <vincent.abriou@st.com> for STMicroelectronics.
*/
+#include <linux/hdmi.h>
+
#include <drm/drm_print.h>
#include "sti_hdmi_tx3g4c28phy.h"
@@ -102,7 +104,7 @@ static bool sti_hdmi_tx3g4c28phy_start(struct sti_hdmi *hdmi)
tmdsck = ckpxpll;
pllctrl |= 40 << PLL_CFG_NDIV_SHIFT;
- if (tmdsck > 340000000) {
+ if (tmdsck > HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ) {
DRM_ERROR("output TMDS clock (%d) out of range\n", tmdsck);
goto err;
}
@@ -135,7 +137,7 @@ static bool sti_hdmi_tx3g4c28phy_start(struct sti_hdmi *hdmi)
HDMI_SRZ_CFG_EN_BIASRES_DETECTION |
HDMI_SRZ_CFG_EN_SINK_TERM_DETECTION);
- if (tmdsck > 165000000)
+ if (tmdsck > HDMI_1_0_TMDS_CHAR_RATE_MAX_HZ)
val |= HDMI_SRZ_CFG_EN_SRC_TERMINATION;
/*
--
2.54.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v2 6/8] drm/sun4i: hdmi: Use the common TMDS char rate constant
2026-05-20 14:43 [PATCH v2 0/8] hdmi: Add common TMDS character rate constants Javier Martinez Canillas
` (3 preceding siblings ...)
2026-05-20 14:43 ` [PATCH v2 5/8] drm/sti: hdmi: Use the common TMDS char rate constants Javier Martinez Canillas
@ 2026-05-20 14:43 ` 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
` (5 subsequent siblings)
10 siblings, 1 reply; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-20 14:43 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Maxime Ripard, Chen-Yu Tsai,
David Airlie, Jernej Skrabec, Maarten Lankhorst, Samuel Holland,
Simona Vetter, Thomas Zimmermann, dri-devel, linux-arm-kernel,
linux-sunxi
Replace the 165000000 magic number with the shared constant defined
in the <linux/hdmi.h> header.
The old comment referenced "HDMI <= 1.2" but 165 MHz is actually
the maximum TMDS character rate defined by the HDMI 1.0 spec.
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Chen-Yu Tsai <wens@kernel.org>
---
(no changes since v1)
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c b/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
index 07e2afcb4f95..74c7c3720ba8 100644
--- a/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
+++ b/drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
@@ -189,8 +189,8 @@ sun4i_hdmi_connector_clock_valid(const struct drm_connector *connector,
if (mode->flags & DRM_MODE_FLAG_DBLCLK)
return MODE_BAD;
- /* 165 MHz is the typical max pixelclock frequency for HDMI <= 1.2 */
- if (clock > 165000000)
+ /* HDMI 1.0 max TMDS character rate */
+ if (clock > HDMI_1_0_TMDS_CHAR_RATE_MAX_HZ)
return MODE_CLOCK_HIGH;
rounded_rate = clk_round_rate(hdmi->tmds_clk, clock);
--
2.54.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v2 7/8] drm/msm/hdmi: Use the common TMDS char rate constants in 8996 PHY
2026-05-20 14:43 [PATCH v2 0/8] hdmi: Add common TMDS character rate constants Javier Martinez Canillas
` (4 preceding siblings ...)
2026-05-20 14:43 ` [PATCH v2 6/8] drm/sun4i: hdmi: Use the common TMDS char rate constant Javier Martinez Canillas
@ 2026-05-20 14:43 ` 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
` (4 subsequent siblings)
10 siblings, 1 reply; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-20 14:43 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Maxime Ripard, Dmitry Baryshkov,
Abhinav Kumar, Brian Masney, David Airlie, Dmitry Baryshkov,
Jessica Zhang, Konrad Dybcio, Marijn Suijten, Rob Clark,
Sean Paul, Simona Vetter, dri-devel, freedreno, linux-arm-msm
Replace the driver local defines with the shared constants defined in the
<linux/hdmi.h> header for the minimum and maximum TMDS character rates.
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
(no changes since v1)
drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c
index 36e928b0fd5a..71da20322b3d 100644
--- a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c
+++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c
@@ -11,9 +11,6 @@
#define HDMI_VCO_MAX_FREQ 12000000000UL
#define HDMI_VCO_MIN_FREQ 8000000000UL
-#define HDMI_PCLK_MAX_FREQ 600000000
-#define HDMI_PCLK_MIN_FREQ 25000000
-
#define HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD 3400000000UL
#define HDMI_DIG_FREQ_BIT_CLK_THRESHOLD 1500000000UL
#define HDMI_MID_FREQ_BIT_CLK_THRESHOLD 750000000UL
@@ -632,7 +629,8 @@ static int hdmi_8996_pll_prepare(struct clk_hw *hw)
static int hdmi_8996_pll_determine_rate(struct clk_hw *hw,
struct clk_rate_request *req)
{
- req->rate = clamp_t(unsigned long, req->rate, HDMI_PCLK_MIN_FREQ, HDMI_PCLK_MAX_FREQ);
+ req->rate = clamp_t(unsigned long, req->rate, HDMI_TMDS_CHAR_RATE_MIN_HZ,
+ HDMI_2_0_TMDS_CHAR_RATE_MAX_HZ);
return 0;
}
--
2.54.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [PATCH v2 8/8] drm/msm/hdmi: Use the common TMDS char rate constants in 8998 PHY
2026-05-20 14:43 [PATCH v2 0/8] hdmi: Add common TMDS character rate constants Javier Martinez Canillas
` (5 preceding siblings ...)
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-20 14:43 ` Javier Martinez Canillas
2026-05-25 11:45 ` Claude review: " Claude Code Review Bot
[not found] ` <20260520144424.1633354-2-javierm@redhat.com>
` (3 subsequent siblings)
10 siblings, 1 reply; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-20 14:43 UTC (permalink / raw)
To: linux-kernel
Cc: Javier Martinez Canillas, Maxime Ripard, Dmitry Baryshkov,
Abhinav Kumar, Brian Masney, David Airlie, Dmitry Baryshkov,
Jessica Zhang, Konrad Dybcio, Marijn Suijten, Rob Clark,
Sean Paul, Simona Vetter, dri-devel, freedreno, linux-arm-msm
Replace the driver local defines with the shared constants defined in the
<linux/hdmi.h> header for the minimum and maximum TMDS character rates.
Suggested-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
(no changes since v1)
drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c
index a86ff3706369..05c3ffad858d 100644
--- a/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c
+++ b/drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c
@@ -12,9 +12,6 @@
#define HDMI_VCO_MAX_FREQ 12000000000UL
#define HDMI_VCO_MIN_FREQ 8000000000UL
-#define HDMI_PCLK_MAX_FREQ 600000000
-#define HDMI_PCLK_MIN_FREQ 25000000
-
#define HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD 3400000000UL
#define HDMI_DIG_FREQ_BIT_CLK_THRESHOLD 1500000000UL
#define HDMI_MID_FREQ_BIT_CLK_THRESHOLD 750000000UL
@@ -649,7 +646,8 @@ static int hdmi_8998_pll_prepare(struct clk_hw *hw)
static int hdmi_8998_pll_determine_rate(struct clk_hw *hw,
struct clk_rate_request *req)
{
- req->rate = clamp_t(unsigned long, req->rate, HDMI_PCLK_MIN_FREQ, HDMI_PCLK_MAX_FREQ);
+ req->rate = clamp_t(unsigned long, req->rate, HDMI_TMDS_CHAR_RATE_MIN_HZ,
+ HDMI_2_0_TMDS_CHAR_RATE_MAX_HZ);
return 0;
}
--
2.54.0
^ permalink raw reply related [flat|nested] 21+ messages in thread
* Re: [PATCH v2 1/8] video/hdmi: Add common TMDS character rate constants
[not found] ` <20260520144424.1633354-2-javierm@redhat.com>
@ 2026-05-20 15:01 ` Javier Martinez Canillas
2026-05-25 11:45 ` Claude review: " Claude Code Review Bot
0 siblings, 1 reply; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-20 15:01 UTC (permalink / raw)
To: linux-kernel; +Cc: Maxime Ripard, Heiko Stuebner, dri-devel
Javier Martinez Canillas <javierm@redhat.com> writes:
[adding the dri-devel ML since patman didn't include it for this patch]
> Several DRM drivers already define their own constants for minimum and
> maximum TMDS character rates.
>
> By defining common rate constants in a shared header, drivers can just use
> them instead of having driver local define macros or use magic numbers.
>
> The values defined in the <linux/hdmi.h> header correspond to maximum TMDS
> character rates defined by each HDMI specification version:
>
> - HDMI_TMDS_CHAR_RATE_MIN_HZ: 25 MHz (minimum for all versions)
> - HDMI_1_0_TMDS_CHAR_RATE_MAX_HZ: 165 MHz (HDMI 1.0 maximum)
> - HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ: 340 MHz (HDMI 1.3 maximum)
> - HDMI_2_0_TMDS_CHAR_RATE_MAX_HZ: 600 MHz (HDMI 2.0 maximum)
>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
> Reviewed-by: Heiko Stuebner <heiko@sntech.de>
> ---
>
> Changes in v2:
> - Change naming convention to HDMI_$SPEC_TMDS_CHAR_RATE_MAX_HZ (Maxime).
> - Define the constants in <linux/hdmi.h> (Dmitry).
>
> include/linux/hdmi.h | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/include/linux/hdmi.h b/include/linux/hdmi.h
> index 96bda41d9148..8dab78e1f61b 100644
> --- a/include/linux/hdmi.h
> +++ b/include/linux/hdmi.h
> @@ -50,6 +50,12 @@ enum hdmi_infoframe_type {
> HDMI_INFOFRAME_TYPE_DRM = 0x87,
> };
>
> +/* HDMI spec maximum TMDS character rates, in Hz */
> +#define HDMI_TMDS_CHAR_RATE_MIN_HZ 25000000
> +#define HDMI_1_0_TMDS_CHAR_RATE_MAX_HZ 165000000
> +#define HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ 340000000
> +#define HDMI_2_0_TMDS_CHAR_RATE_MAX_HZ 600000000
> +
> #define HDMI_IEEE_OUI 0x000c03
> #define HDMI_FORUM_IEEE_OUI 0xc45dd8
> #define HDMI_INFOFRAME_HEADER_SIZE 4
> --
> 2.54.0
>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v2 0/8] hdmi: Add common TMDS character rate constants
2026-05-20 14:43 [PATCH v2 0/8] hdmi: Add common TMDS character rate constants Javier Martinez Canillas
` (7 preceding siblings ...)
[not found] ` <20260520144424.1633354-2-javierm@redhat.com>
@ 2026-05-20 16:28 ` Maxime Ripard
2026-05-21 9:59 ` Javier Martinez Canillas
2026-05-25 11:45 ` Claude review: " Claude Code Review Bot
10 siblings, 0 replies; 21+ messages in thread
From: Maxime Ripard @ 2026-05-20 16:28 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: dri-devel, freedreno, linux-arm-kernel, linux-arm-msm,
linux-kernel, linux-sunxi, Abhinav Kumar, Alain Volmat,
Andrzej Hajda, Andy Yan, Brian Masney, Chen-Yu Tsai, Chris Morgan,
Cristian Ciocaltea, Daniel Stone, David Airlie, Dmitry Baryshkov,
Dmitry Baryshkov, Heiko Stuebner, Jani Nikula, Jernej Skrabec,
Jessica Zhang, Jonas Karlman, Konrad Dybcio, Laurent Pinchart,
Liu Ying, Luca Ceresoli, Maarten Lankhorst, Marijn Suijten,
Maxime Ripard, Neil Armstrong, Raphael Gallais-Pou, Rob Clark,
Robert Foss, Samuel Holland, Sean Paul, Shengjiu Wang,
Simona Vetter, Thomas Zimmermann
On Wed, 20 May 2026 16:43:36 +0200, Javier Martinez Canillas wrote:
> Several DRM drivers define their own local macros or use magic numbers for
> the standard HDMI TMDS character rate limits. Maxime Ripard suggested that
> instead these common rate constants could be included to a shared header.
>
> This series introduces these constants to the <linux/hdmi.h> header and
>
> [ ... ]
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Thanks!
Maxime
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v2 3/8] drm/bridge: dw-hdmi-qp: Use the common TMDS char rate constant
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
1 sibling, 0 replies; 21+ messages in thread
From: Heiko Stuebner @ 2026-05-21 8:53 UTC (permalink / raw)
To: linux-kernel, Javier Martinez Canillas
Cc: Javier Martinez Canillas, Maxime Ripard, Neil Armstrong,
Andrzej Hajda, Andy Yan, Chris Morgan, Cristian Ciocaltea,
Daniel Stone, David Airlie, Dmitry Baryshkov, Jernej Skrabec,
Jonas Karlman, Laurent Pinchart, Luca Ceresoli, Maarten Lankhorst,
Robert Foss, Simona Vetter, Thomas Zimmermann, dri-devel
Am Mittwoch, 20. Mai 2026, 16:43:39 Mitteleuropäische Sommerzeit schrieb Javier Martinez Canillas:
> Replace the driver local HDMI14_MAX_TMDSCLK define with the shared
> constant defined in the <linux/hdmi.h> header.
>
> The local define incorrectly referenced HDMI 1.4, but the 340 MHz
> maximum TMDS character rate was actually introduced in HDMI 1.3.
>
> Suggested-by: Maxime Ripard <mripard@kernel.org>
> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [PATCH v2 0/8] hdmi: Add common TMDS character rate constants
2026-05-20 14:43 [PATCH v2 0/8] hdmi: Add common TMDS character rate constants Javier Martinez Canillas
` (8 preceding siblings ...)
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 review: " Claude Code Review Bot
10 siblings, 0 replies; 21+ messages in thread
From: Javier Martinez Canillas @ 2026-05-21 9:59 UTC (permalink / raw)
To: linux-kernel
Cc: Abhinav Kumar, Alain Volmat, Andrzej Hajda, Andy Yan,
Brian Masney, Chen-Yu Tsai, Chris Morgan, Cristian Ciocaltea,
Daniel Stone, David Airlie, Dmitry Baryshkov, Dmitry Baryshkov,
Heiko Stuebner, Jani Nikula, Jernej Skrabec, Jessica Zhang,
Jonas Karlman, Konrad Dybcio, Laurent Pinchart, Liu Ying,
Luca Ceresoli, Maarten Lankhorst, Marijn Suijten, Maxime Ripard,
Neil Armstrong, Raphael Gallais-Pou, Rob Clark, Robert Foss,
Samuel Holland, Sean Paul, Shengjiu Wang, Simona Vetter,
Thomas Zimmermann, dri-devel, freedreno, linux-arm-kernel,
linux-arm-msm, linux-sunxi
Javier Martinez Canillas <javierm@redhat.com> writes:
> Several DRM drivers define their own local macros or use magic numbers for
> the standard HDMI TMDS character rate limits. Maxime Ripard suggested that
> instead these common rate constants could be included to a shared header.
>
> This series introduces these constants to the <linux/hdmi.h> header and
> replaces the local defined constants or magic numbers in drivers.
>
> I split the changes as one patch per driver, so that these can be reviewed
> individually and merged at their own pace.
>
> This is a version 2 that addresses issues pointed out by Maxime Ripard and
> Dmitry Baryshkov.
>
> Changes in v2:
> - Change naming convention to HDMI_$SPEC_TMDS_CHAR_RATE_MAX_HZ (Maxime).
> - Define the constants in <linux/hdmi.h> (Dmitry).
>
> Javier Martinez Canillas (8):
> video/hdmi: Add common TMDS character rate constants
> drm/bridge: dw-hdmi: Use the common TMDS char rate constant
> drm/bridge: dw-hdmi-qp: Use the common TMDS char rate constant
> drm/bridge: inno-hdmi: Use the common TMDS char rate constant
> drm/sti: hdmi: Use the common TMDS char rate constants
> drm/sun4i: hdmi: Use the common TMDS char rate constant
> drm/msm/hdmi: Use the common TMDS char rate constants in 8996 PHY
> drm/msm/hdmi: Use the common TMDS char rate constants in 8998 PHY
>
Pushed to drm-misc (drm-misc-next). Thanks everyone for the feedback and review!
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
^ permalink raw reply [flat|nested] 21+ messages in thread
* Claude review: hdmi: Add common TMDS character rate constants
2026-05-20 14:43 [PATCH v2 0/8] hdmi: Add common TMDS character rate constants Javier Martinez Canillas
` (9 preceding siblings ...)
2026-05-21 9:59 ` Javier Martinez Canillas
@ 2026-05-25 11:45 ` Claude Code Review Bot
10 siblings, 0 replies; 21+ messages in thread
From: Claude Code Review Bot @ 2026-05-25 11:45 UTC (permalink / raw)
To: dri-devel-reviews
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
^ permalink raw reply [flat|nested] 21+ messages in thread
* Claude review: Re: [PATCH v2 1/8] video/hdmi: Add common TMDS character rate constants
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 Code Review Bot
0 siblings, 0 replies; 21+ messages in thread
From: Claude Code Review Bot @ 2026-05-25 11:45 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
**Not present in the mbox** -- cannot review the actual definitions. This is the most important patch to review since it establishes the naming convention, types, and values that all other patches depend on. From the diffstat (`+6` lines in `include/linux/hdmi.h`), it adds approximately 4 `#define` constants.
Would need to verify: proper `UL` or type suffixes to avoid signed/unsigned issues (the original `INNO_HDMI_MIN_TMDS_CLOCK` used `U` suffix, `HDMI_PCLK_*` used bare int literals).
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Claude review: drm/bridge: dw-hdmi: Use the common TMDS char rate constant
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 Code Review Bot
0 siblings, 0 replies; 21+ messages in thread
From: Claude Code Review Bot @ 2026-05-25 11:45 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
Straightforward 1:1 replacement of `HDMI14_MAX_TMDSCLK` (340000000) with `HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ` at all 4 usage sites. The commit message correctly notes that 340 MHz was actually HDMI 1.3, not 1.4.
No issues. The `#include <linux/hdmi.h>` is already available in this file.
**Reviewed-by tags:** Heiko Stuebner, Neil Armstrong.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Claude review: drm/bridge: dw-hdmi-qp: Use the common TMDS char rate constant
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 Code Review Bot
1 sibling, 0 replies; 21+ messages in thread
From: Claude Code Review Bot @ 2026-05-25 11:45 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
Same replacement as patch 2, applied to dw-hdmi-qp.c. The comment in the TODO block is also updated:
```c
- * HDMI14_MAX_TMDSCLK.
+ * HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ.
```
No issues.
**Reviewed-by tag:** Neil Armstrong.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Claude review: drm/bridge: inno-hdmi: Use the common TMDS char rate constant
2026-05-20 14:43 ` [PATCH v2 4/8] drm/bridge: inno-hdmi: " Javier Martinez Canillas
@ 2026-05-25 11:45 ` Claude Code Review Bot
0 siblings, 0 replies; 21+ messages in thread
From: Claude Code Review Bot @ 2026-05-25 11:45 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
Replaces `INNO_HDMI_MIN_TMDS_CLOCK` (25000000U) with `HDMI_TMDS_CHAR_RATE_MIN_HZ`.
```c
- if (mpixelclk < INNO_HDMI_MIN_TMDS_CLOCK)
+ if (mpixelclk < HDMI_TMDS_CHAR_RATE_MIN_HZ)
```
Minor note: the variable is named `mpixelclk` and the original define said "TMDS_CLOCK". Since these are the same value in 8bpc RGB without pixel repetition, this is fine. The `U` suffix on the original define (`25000000U`) should be preserved in the new constant definition in patch 1/8 to avoid any signed comparison changes.
No issues. **Reviewed-by tag:** Heiko Stuebner.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Claude review: drm/sti: hdmi: Use the common TMDS char rate constants
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 Code Review Bot
0 siblings, 0 replies; 21+ messages in thread
From: Claude Code Review Bot @ 2026-05-25 11:45 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
Replaces two magic numbers: 340000000 and 165000000 with `HDMI_1_3_TMDS_CHAR_RATE_MAX_HZ` and `HDMI_1_0_TMDS_CHAR_RATE_MAX_HZ` respectively. Correctly adds `#include <linux/hdmi.h>` since this file didn't have it (directly or transitively before this patch -- wait, actually `sti_hdmi_tx3g4c28phy.h` might pull it in, but adding the explicit include is the right practice).
```c
+#include <linux/hdmi.h>
+
#include <drm/drm_print.h>
```
No issues. The include ordering (linux/ before drm/) is correct.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Claude review: drm/sun4i: hdmi: Use the common TMDS char rate constant
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 Code Review Bot
0 siblings, 0 replies; 21+ messages in thread
From: Claude Code Review Bot @ 2026-05-25 11:45 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
Replaces the magic number 165000000 with `HDMI_1_0_TMDS_CHAR_RATE_MAX_HZ` and fixes the comment:
```c
- /* 165 MHz is the typical max pixelclock frequency for HDMI <= 1.2 */
- if (clock > 165000000)
+ /* HDMI 1.0 max TMDS character rate */
+ if (clock > HDMI_1_0_TMDS_CHAR_RATE_MAX_HZ)
```
The comment correction is accurate -- 165 MHz max TMDS char rate is from HDMI 1.0, not "HDMI <= 1.2". No explicit `#include <linux/hdmi.h>` added, but it's already available transitively via `drm_hdmi_helper.h`, which I verified.
No issues. **Reviewed-by tag:** Chen-Yu Tsai.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Claude review: drm/msm/hdmi: Use the common TMDS char rate constants in 8996 PHY
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 Code Review Bot
0 siblings, 0 replies; 21+ messages in thread
From: Claude Code Review Bot @ 2026-05-25 11:45 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
Replaces `HDMI_PCLK_MAX_FREQ` (600000000) and `HDMI_PCLK_MIN_FREQ` (25000000) with `HDMI_2_0_TMDS_CHAR_RATE_MAX_HZ` and `HDMI_TMDS_CHAR_RATE_MIN_HZ`:
```c
- req->rate = clamp_t(unsigned long, req->rate, HDMI_PCLK_MIN_FREQ, HDMI_PCLK_MAX_FREQ);
+ req->rate = clamp_t(unsigned long, req->rate, HDMI_TMDS_CHAR_RATE_MIN_HZ,
+ HDMI_2_0_TMDS_CHAR_RATE_MAX_HZ);
```
**Minor semantic note:** The old defines used "PCLK" (pixel clock) terminology, and the new ones use "TMDS character rate". These are equivalent at 8bpc without pixel repetition, and since this is a PLL providing the TMDS clock the new naming is arguably more precise. The values are identical either way.
No issues. **Reviewed-by tag:** Dmitry Baryshkov.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Claude review: drm/msm/hdmi: Use the common TMDS char rate constants in 8998 PHY
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 Code Review Bot
0 siblings, 0 replies; 21+ messages in thread
From: Claude Code Review Bot @ 2026-05-25 11:45 UTC (permalink / raw)
To: dri-devel-reviews
Patch Review
Identical transformation as patch 7 but for the 8998 PHY driver. Same code pattern, same constants.
No issues. **Reviewed-by tag:** Dmitry Baryshkov.
---
**Summary:** Clean series, all value replacements are correct, no behavioral changes. The only gap is that **patch 1/8 is missing from the mbox**, so the actual constant definitions in `<linux/hdmi.h>` cannot be reviewed. The remaining patches (2-8) all look good for merging, assuming patch 1/8 defines the constants with appropriate types/suffixes.
---
Generated by Claude Code Patch Reviewer
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2026-05-25 11:45 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 review: " Claude Code Review Bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox