mirror_ubuntu-kernels/drivers/gpu/drm/amd
Yi-Ling Chen 8fa6f4c571 drm/amd/display: fixed the DSC power off sequence during Driver PnP
[WHY]
After unloading driver, driver would not disable DSC function.
At next loading driver, driver would power all DSC engines off.
When driver powered the active DSC off, the screen would be gray
until reprograming DSC relatived register correcntly.

[HOW]
1. Remove DSC Power down code into init_pipes()
2. Depend on  the OTG mapping information and DSC status to skip
power off for the working DSC.

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Yi-Ling Chen <Yi-Ling.Chen2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-11-22 14:45:02 -05:00
..
acp
amdgpu drm/amdgpu: Pin MMIO/DOORBELL BO's in GTT domain 2021-11-22 14:45:01 -05:00
amdkfd drm/amdkfd: replace asic_family with asic_type 2021-11-17 17:10:01 -05:00
display drm/amd/display: fixed the DSC power off sequence during Driver PnP 2021-11-22 14:45:02 -05:00
include drm/amdkfd: remove kgd_dev declaration and initialization 2021-11-17 16:58:03 -05:00
pm drm/amd/pm: add GFXCLK/SCLK clocks level print support for APUs 2021-11-17 17:10:10 -05:00