]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Program DIG FE source select for DVI before PHY en
authorAlvin Lee <alvin.lee2@amd.com>
Mon, 20 May 2024 16:52:31 +0000 (12:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 19:34:31 +0000 (15:34 -0400)
commitcf58fdca000f6c95b881290405f0beb711d5d921
tree7f8212170470d7368ac1bf340f6aab33ded20931
parent839eb4bbbd9617e60ef2091cb7bad2bae7c519d5
drm/amd/display: Program DIG FE source select for DVI before PHY en

[Description]
In newer DCN's the programming of SYMCLK_FE_SRC_SEL depends on
the value of DIG_FE_SOURCE_SELECT. If DIG_FE_SOURCE_SELECT is not
already programmed at the time of PHY / DIG enable then the FW
sequence will program an incorrect SYMCLK source. Ensure that we
program DIG_FE_SOURCE_SELECT for all DIO scenarios (DVI in this
particular case) before going through the PHY / DIG enable sequence.

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_dpms.c