mirror_ubuntu-kernels/drivers/gpu/drm/amd
Iswara Nagulendran 9e6a04651e drm/amd/display: Disable FEC if DSC not supported for EDP
[WHY]
Screen was seen corrupted for a few ms
when switching both ways. There was also
not enough bandwidth for HDR to be
enabled in HG disabled mode.
This was due to FEC being
enabled although DSC was not supported
or disabled for the EDP.

[HOW]
Check for EDP DSC support in DC caps
or if DSC should be disabled for EDP
before enabling FEC for EDP.

Reviewed-by: Harry Vanzylldejong <harry.vanzylldejong@amd.com>
Reviewed-by: Evgenii Krasnikov <Evgenii.Krasnikov@amd.com>
Reviewed-by: Nicholas Choi <Nicholas.Choi@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Iswara Nagulendran <inagulen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-04-12 14:17:17 -04:00
..
acp
amdgpu drm/amdgpu: add umc query error status function 2022-04-11 13:50:35 -04:00
amdkfd drm/amdkfd: Handle drain retry fault race with XNACK mode change 2022-04-11 13:50:35 -04:00
display drm/amd/display: Disable FEC if DSC not supported for EDP 2022-04-12 14:17:17 -04:00
include drm/amdgpu: Use flexible array member 2022-04-11 13:50:35 -04:00
pm drm/amdgpu: expand cg_flags from u32 to u64 2022-04-08 17:24:24 -04:00