diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2025-04-08 21:09:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-02 09:02:13 +0300 |
commit | fa1f22a1434cca4633c2ab624d830af168476a1a (patch) | |
tree | e35c73a46d453f11a4dfbcd6da3c837386fd2f64 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1b95fcb50067c6cfaba18a3b8bf9cee6eb9b504e (diff) | |
download | linux-fa1f22a1434cca4633c2ab624d830af168476a1a.tar.xz |
drm/amd: Forbid suspending into non-default suspend states
[ Upstream commit 1657793def101dac7c9d3b2250391f6a3dd934ba ]
On systems that default to 'deep' some userspace software likes
to try to suspend in 'deep' first. If there is a failure for any
reason (such as -ENOMEM) the failure is ignored and then it will
try to use 's2idle' as a fallback. This fails, but more importantly
it leads to graphical problems.
Forbid this behavior and only allow suspending in the last state
supported by the system.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4093
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://lore.kernel.org/r/20250408180957.4027643-1-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2aabd44aa8a3c08da3d43264c168370f6da5e81d)
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions