]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Turn off DAC in DCE link encoder using VBIOS
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 2 Feb 2026 11:25:04 +0000 (12:25 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Feb 2026 17:16:12 +0000 (12:16 -0500)
commite021ee995056ee7e58114edd92bcd4578d8b4bb5
treec4aba2e6ae51423c5d35622a88d17a39bb556c97
parent613b1737abe1bd0a65b49851e777231302095e28
drm/amd/display: Turn off DAC in DCE link encoder using VBIOS

Apparently, the VBIOS DAC1EncoderControl function is much more
graceful about turning off the DAC. It writes various DAC
registers in a specific sequence. Use that instead of just
clearing the DAC_ENABLE register.

Do this in just the dce110_link_encoder_disable_output
function and remove it from the HWSS.

Fixes: 0fbe321a93ce ("drm/amd/display: Implement DCE analog link encoders (v2)")
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Tested-by: Mauro Rossi <issor.oruam@gmail.com>
Suggested-by: Alex Deucher <alexander.deucher@amd.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_link_encoder.c
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c