Skip to content
Snippets Groups Projects
Commit 4c4d9b7b authored by Christoph Rudorff's avatar Christoph Rudorff Committed by Lyude Paul
Browse files

drm/nouveau: fix hibernate on disabled GPU


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: default avatarChristoph Rudorff <chris@rudorff.com>
Signed-off-by: Lyude Paul's avatarLyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20250325-nouveau-fix-hibernate-v2-1-2bd5c13fb953@rudorff.com
parent e486147c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment