drm/amd/display: Set CRTC source for DAC using registers
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 2 Feb 2026 11:25:06 +0000 (12:25 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Feb 2026 17:16:12 +0000 (12:16 -0500)
commitcbced93894d145239c83881d7fd953b7392c23a8
tree1187577fe435793050393e6a35383b2ce29a3671
parente2a024345bce78a8e1ed7d9e84c859b05979e41e
drm/amd/display: Set CRTC source for DAC using registers

Apparently the VBIOS SelectCRTC_Source function overwrites
a few registers (such as FMT_*) which DC writes in a different
place, which can cause problems.

Instead of using the SelectCRTC_Source function from the
VBIOS, use the DAC_SOURCE_SELECT register directly, similarly
to how it is done for digital link encoders.

Fixes: 3be26d81b150 ("drm/amd/display: Support DAC in dce110_hwseq")
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Tested-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.h
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
drivers/gpu/drm/amd/display/dc/resource/dce100/dce100_resource.c
drivers/gpu/drm/amd/display/dc/resource/dce60/dce60_resource.c
drivers/gpu/drm/amd/display/dc/resource/dce80/dce80_resource.c