Commit 7f46daca authored by Chris Park's avatar Chris Park Committed by Alex Deucher

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: default avatarRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: default avatarChris Park <chris.park@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 290c0462
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment