]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2026 23:01:38 +0000 (15:01 -0800)
commit28843646b37d4d2f677d767243d41769779ea0cd
treeef8a7471f2f82d3f769e06a91e9668d6dc3ec803
parentaeafffb1af1596d5e223765c51b43ba6faf83942
drm/amd/display: Turn off DAC in DCE link encoder using VBIOS

[ Upstream commit e021ee995056ee7e58114edd92bcd4578d8b4bb5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c