[PATCH 12/25] drm/connector: Fix comment in drmm_connector_hdmi_init()

From
Cristian Ciocaltea <hidden>
Date
2026-11-14 18:04:28
Also in
dri-devel, lkml
Reply to
Cristian Ciocaltea, 2026-11-14
The comment related to the computation of maximum TMDS character rate
refers to a non-existent caps->max_tmds_char_rate, a left-over from the
early stages of development.

Update the statement to reference hdmi_funcs->supported_tmds_char_rate.
While at it, replace the incorrect "determinate" with "determine" in the
same comment block.

Signed-off-by: Cristian Ciocaltea <redacted>
---
 drivers/gpu/drm/drm_connector.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
index 355ba53cab6b..663b3072a1d0 100644
--- a/drivers/gpu/drm/drm_connector.c
+++ b/drivers/gpu/drm/drm_connector.c
@@ -618,13 +618,13 @@ int drmm_connector_hdmi_init(struct drm_device *dev,
 		return ret;
 
 	/*
-	 * The supported HDMI version can be used to determinate the maximum
+	 * The supported HDMI version can be used to determine the maximum
 	 * TMDS character rate allowed by the specification. Some controllers,
 	 * however, may support a lower rate than that version would imply.
 	 *
-	 * A non-zero caps->max_tmds_char_rate lets drivers override this
-	 * default with the actual controller capability. A value of zero keeps
-	 * the limit inferred from supported_hdmi_ver.
+	 * A non-zero hdmi_funcs->supported_tmds_char_rate lets drivers override
+	 * this default with the actual controller capability. A value of zero
+	 * keeps the limit inferred from supported_hdmi_ver.
 	 */
 	if (hdmi_funcs->supported_hdmi_ver >= HDMI_VERSION_2_0)
 		connector->hdmi.max_tmds_char_rate = HDMI_2_0_TMDS_CHAR_RATE_MAX_HZ;
-- 
2.56.0
Thread (26 messages) 26 messages, 1 author, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help