summaryrefslogtreecommitdiff
path: root/rust/helpers/err.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-04-08 21:09:57 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-04-16 22:52:20 +0300
commit1657793def101dac7c9d3b2250391f6a3dd934ba (patch)
treef60b06644a2c9b6ae3ed3487910c923b3c656fbb /rust/helpers/err.c
parent447fab30955cf7dba7dd563f42b67c02284860c8 (diff)
downloadlinux-1657793def101dac7c9d3b2250391f6a3dd934ba.tar.xz
drm/amd: Forbid suspending into non-default suspend states
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)
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions