diff options
author | Hamza Mahfooz <[email protected]> | 2024-10-04 15:22:57 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-10-07 14:59:28 -0400 |
commit | 79bc412ef787cf25773d0ece93f8739ce0e6ac1e (patch) | |
tree | 91615b19ee5dda098a74456c0120309a2bae6099 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0a9906cc45d21e21ca8bb2b98b79fd7c05420fda (diff) |
drm/amd/display: fix hibernate entry for DCN35+
Since, two suspend-resume cycles are required to enter hibernate and,
since we only need to enable idle optimizations in the first cycle
(which is pretty much equivalent to s2idle). We can check in_s0ix, to
prevent the system from entering idle optimizations before it actually
enters hibernate (from display's perspective). Also, call
dc_set_power_state() before dc_allow_idle_optimizations(), since it's
safer to do so because dc_set_power_state() writes to DMUB.
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 2fe79508d9c393bb9931b0037c5ecaee09a8dc39)
Cc: [email protected] # 6.10+
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions