[PATCH 05/24] drm/amd/display: Use the correct TMDS function to avoid DVI issues

Roman.Li at amd.com Roman.Li at amd.com
Thu May 16 19:26:28 UTC 2024


From: Chris Park <chris.park at amd.com>

[Why]
DVI is TMDS signal like HDMI but without audio. Current signal check
does not correctly reflect DVI clock programming.

[How]
Define a new signal check for TMDS that includes DVI to HDMI TMDS
programming.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
Signed-off-by: Chris Park <chris.park at amd.com>
---
 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
index 6b33117ab5fc..f39700832639 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
@@ -1081,7 +1081,7 @@ static bool dcn401_program_pix_clk(
 	dto_params.signal = pix_clk_params->signal_type;
 
 	// all but TMDS gets Driver to program DP_DTO without calling VBIOS Command table
-	if (!dc_is_hdmi_tmds_signal(pix_clk_params->signal_type)) {
+	if (!dc_is_tmds_signal(pix_clk_params->signal_type)) {
 		long long ref_dtbclk_khz = clock_source->ctx->dc->clk_mgr->funcs->get_dtb_ref_clk_frequency(clock_source->ctx->dc->clk_mgr);
 		long long dprefclk_khz = clock_source->ctx->dc->clk_mgr->dprefclk_khz;
 		long long dtbclk_p_src_clk_khz;
-- 
2.34.1



More information about the amd-gfx mailing list