summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Hsieh <paul.hsieh@amd.com>2019-05-07 17:58:58 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-22 09:34:07 -0500
commit98b5b65eb8b7136489ba42ae4598f5ed799fa936 (patch)
treec5dc612ac2c36d062c6c582ec0e4d53026bfd769 /scripts
parentae8f425840cb642873ff97b7a6711aad42766133 (diff)
downloadcachepc-linux-98b5b65eb8b7136489ba42ae4598f5ed799fa936.tar.gz
cachepc-linux-98b5b65eb8b7136489ba42ae4598f5ed799fa936.zip
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions