1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/inc/hw
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
..
abm.h drm/amd/display: add vsync notify to dmub for abm pause 2021-09-28 09:30:09 -04:00
audio.h drm/amd/display: Disable audio stream only if it's currently enabled 2019-05-31 10:39:30 -05:00
aux_engine.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
clk_mgr.h drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
clk_mgr_internal.h drm/amd/display: add cyan_skillfish display support 2021-10-04 15:22:57 -04:00
dccg.h drm/amd/display: Disable dsc root clock when not being used 2021-10-19 17:19:24 -04:00
dchubbub.h drm/amd/display: refactor riommu invalidation wa 2021-07-28 16:37:17 -04:00
dmcu.h drm/amd/display: Process crc window at DMCU 2021-03-05 15:11:54 -05:00
dpp.h drm/amd/display: Defer GAMCOR and DSCL power down sequence to vupdate 2021-10-28 14:26:15 -04:00
dsc.h drm/amd/display: fixed the DSC power off sequence during Driver PnP 2021-11-22 14:45:02 -05:00
dwb.h drm/amd/display: add cyan_skillfish display support 2021-10-04 15:22:57 -04:00
gpio.h drm/amd/display: refactor gpio to allocate hw_container in constructor 2019-08-15 10:53:55 -05:00
hubp.h drm/amd/display: Set max TTU on DPG enable 2021-04-09 16:48:53 -04:00
hw_shared.h drm/amd/display: Add DP 2.0 HPO Link Encoder 2021-09-01 16:55:10 -04:00
ipp.h drm/amd/display: csc_transform to dc_csc_transform 2018-05-15 13:42:54 -05:00
link_encoder.h drm/amd/display: Fix dynamic encoder reassignment 2021-09-23 15:17:30 -04:00
mcif_wb.h drm/amdgpu: fold CONFIG_DRM_AMD_DC_DCN3* into CONFIG_DRM_AMD_DC_DCN (v3) 2020-11-04 17:11:37 -05:00
mem_input.h drm/amdgpu/display: fold DRM_AMD_DC_DCN3_1 into DRM_AMD_DC_DCN 2021-06-22 16:51:45 -04:00
mpc.h drm/amd/display: Add MPC meory shutdown support 2021-11-03 12:32:34 -04:00
opp.h drm/amd/display: Raise DPG height during timing synchronization 2020-10-26 13:29:21 -04:00
panel_cntl.h drm/amd/display: Add read backlight interface 2020-08-17 14:08:12 -04:00
stream_encoder.h drm/amd/display: Reset fifo after enable otg 2021-11-22 14:45:01 -05:00
timing_generator.h drm/amd/display: fixed the DSC power off sequence during Driver PnP 2021-11-22 14:45:02 -05:00
transform.h drm/amd/display: Line Buffer changes 2021-07-23 10:07:58 -04:00
vmid.h drm/amd/display: move vmid determination logic to a module 2019-06-22 09:34:14 -05:00