]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Disable FEC when powering down encoders
authorOvidiu Bunea <ovidiu.bunea@amd.com>
Fri, 2 Jan 2026 22:48:59 +0000 (17:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Jan 2026 22:19:21 +0000 (17:19 -0500)
commit8cee62904caf95e5698fa0f2d420f5f22b4dea15
tree283bfd0ae0324877b3a118fa575aaf5867598ab6
parent942782883955b52f399b99ec6f0e6af2c7e8d440
drm/amd/display: Disable FEC when powering down encoders

[why & how]
VBIOS DMCUB FW can enable FEC for capable eDPs, but S/W DC state is
only updated for link0 when transitioning into OS with driver loaded.
This causes issues when the eDP is immediately hidden and DIG0 is
assigned to another link that does not support FEC. Driver will
attempt to disable FEC but FEC enablement occurs based on the link
state, which does not have fec_state updated since it is a different
link. Thus, FEC disablement on DIG0 will get skipped and cause no
light up.

Reviewed-by: Karen Chen <karen.chen@amd.com>
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c