Displaying 1 result from an estimated 1 matches for "c402fca".
Did you mean:
c4020c3
2012 Nov 01
0
[PATCH] Fix nouveau hang after switcheroo
...0
[<ffffffff8119b121>] sys_ioctl+0x91/0xb0
Signed-off-by: Daniel J Blueman <daniel at quora.org>
---
drivers/gpu/drm/nouveau/nvd0_display.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/nouveau/nvd0_display.c b/drivers/gpu/drm/nouveau/nvd0_display.c
index c402fca..c3285bf 100644
--- a/drivers/gpu/drm/nouveau/nvd0_display.c
+++ b/drivers/gpu/drm/nouveau/nvd0_display.c
@@ -1364,6 +1364,10 @@ nvd0_sor_dpms(struct drm_encoder *encoder, int mode)
int or = nv_encoder->or;
u32 dpms_ctrl;
+ /* prevent hanging after hardware is in D3 */
+ if (dev->switch...