summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce
diff options
context:
space:
mode:
authorChris Park <chris.park@amd.com>2024-04-02 09:06:00 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-05-20 23:19:34 +0300
commit7f46daca139985cbfb79f1c3a41f4df065d45b1e (patch)
tree70b45e9f8ee50b80322fbe356051bad2cd852dc1 /drivers/gpu/drm/amd/display/dc/dce
parent290c0462e0bb68b0878e25c15e7096626dd5bc15 (diff)
downloadlinux-7f46daca139985cbfb79f1c3a41f4df065d45b1e.tar.xz
drm/amd/display: Use the correct TMDS function to avoid DVI issues
[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@amd.com> Signed-off-by: Chris Park <chris.park@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c2
1 files changed, 1 insertions, 1 deletions
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;