linux/drivers/gpu/drm/amd/display
Paul Hsieh 98b5b65eb8 drm/amd/display: disable PSR/ABM before destroy DMCU struct
[Why]
1. DMCU is not running on some platform but driver still send ABM
   command. It may cause assert due to DMCU is not alive.
2. To make sure PSR disable when driver disable

[How]
1. Add dmcu_is_running in ABM struct, driver can check this flag to
   determine driver should send ABM command or not.
2. Send PSR disable command when destroy PSR

Signed-off-by: Paul Hsieh <paul.hsieh@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-06-22 09:34:07 -05:00
..
amdgpu_dm drm/amd/display: Add DSC support for Navi (v2) 2019-06-22 09:34:07 -05:00
dc drm/amd/display: disable PSR/ABM before destroy DMCU struct 2019-06-22 09:34:07 -05:00
include drm/amd/display: Add DSC support for Navi (v2) 2019-06-22 09:34:07 -05:00
modules drm/amd/display: Add missing newline at end of file 2019-06-17 11:02:03 -05:00
Kconfig drm/amd/display: Add DSC support for Navi (v2) 2019-06-22 09:34:07 -05:00
Makefile drm/amd/display: move clk_mgr files to right place 2019-05-31 10:39:31 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00