diff options
author | Paul Hsieh <[email protected]> | 2019-05-07 17:58:58 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-05-31 10:39:30 -0500 |
commit | 70d9e8cb8b4439dcfd42bee08831ffb1c02a4805 (patch) | |
tree | 86d0fcfa00b05ab5c52405075da5f38b6fa80b5a /scripts/gdb/linux/timerlist.py | |
parent | e63e2491ad92036e844230b6373ae07923552f6c (diff) |
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 <[email protected]>
Reviewed-by: Anthony Koo <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions