diff options
author | Yi-Ling Chen <Yi-Ling.Chen2@amd.com> | 2021-11-05 15:43:25 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-11-22 14:45:02 -0500 |
commit | 8fa6f4c5715cee5dfc04f98780a15eb6d1da5be8 (patch) | |
tree | 145b1cd340b06402478eee5c518b0756a401f705 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 3f232a0fdbb17c64ee9afff1c16efe94514456c5 (diff) | |
download | linux-8fa6f4c5715cee5dfc04f98780a15eb6d1da5be8.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions