[PATCH] drm/nouveau: fix hibernate on disabled GPU

2025-03-11 Thread chr[]
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: chr[] --- I got an old MacBoo

Re: [PATCH] drm/nouveau: fix hibernate on disabled GPU

2025-03-08 Thread Lyude Paul
Reviewed-by: Lyude Paul I will push to drm-misc in a moment, thank you for the patch! On Tue, 2025-03-04 at 22:08 +0100, chr[] wrote: > Hibernate bricks the machine if a discrete GPU was disabled via > > echo IGD > /sys/kernel/debug/vgaswitcheroo/switch > > The freeze and thaw handler lacks ch