diff options
author | Christoph Rudorff <chris@rudorff.com> | 2025-03-25 13:44:36 +0100 |
---|---|---|
committer | Lyude Paul <lyude@redhat.com> | 2025-03-28 18:05:53 -0400 |
commit | 4c4d9b7b6c6e676eca22585139aba5f03de74b90 (patch) | |
tree | 3464c87cc8501b0bb29142ec0565811c426a58b9 /drivers/mfd/rt5120.c | |
parent | e486147c912f653ef4b60a6c7dbd4168a4c56a9f (diff) |
drm/nouveau: fix hibernate on disabled GPUHEADdrm-misc-next
Hibernate bricks the machine if a discrete GPU was disabled via
echo IGD > /sys/kernel/debug/vgaswitcheroo/switch
The freeze and thaw handler lacks checking the GPU power state,
as suspend and resume do.
This patch add the checks and fix this issue.
Signed-off-by: Christoph Rudorff <chris@rudorff.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20250325-nouveau-fix-hibernate-v2-1-2bd5c13fb953@rudorff.com
Diffstat (limited to 'drivers/mfd/rt5120.c')
0 files changed, 0 insertions, 0 deletions