Bug 39422
Summary: | s2ram with nouveau leaves VTs blank, works in X (but only for vt X was running on) | ||
---|---|---|---|
Product: | Drivers | Reporter: | Andrew Randrianasulu (randrik) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | florian |
Priority: | P1 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 3.0.0-rc6 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
lspci -vv
dmesg dmesg after s2ram test patch fix fix v2 |
Description
Andrew Randrianasulu
2011-07-15 15:57:40 UTC
Created attachment 65742 [details]
lspci -vv
Created attachment 65752 [details]
dmesg
from nouveau tree, without attempt to suspend
Created attachment 65762 [details]
dmesg after s2ram
Created attachment 65782 [details]
test patch
It seems M2MF object is bounded to NV04_GDI subchannel after resume.
Can you test attached patch?
(In reply to comment #4) > Created an attachment (id=65782) [details] > test patch > > It seems M2MF object is bounded to NV04_GDI subchannel after resume. > > Can you test attached patch? Works (tried 2 suspends , one from console, one from X) Thanks a lot! Created attachment 65882 [details]
fix
Can you check this patch instead?
(In reply to comment #6) > Created an attachment (id=65882) [details] > fix > > Can you check this patch instea(In reply to comment #6) > Created an attachment (id=65882) [details] > fix > > Can you check this patch instead? Patch doesn't apply to master (commit 1765a367a3b5d5e9692949b0c5ec933eff2c0701, "Merge branch 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6") git apply ../nouveau-kernel/linux-2.6/0001-drm-nouveau-restore-subchannel-object-binding-on-res.patch error: patch failed: drivers/gpu/drm/nouveau/nouveau_drv.h:302 error: drivers/gpu/drm/nouveau/nouveau_drv.h: patch does not apply error: patch failed: drivers/gpu/drm/nouveau/nvc0_fbcon.c:200 error: drivers/gpu/drm/nouveau/nvc0_fbcon.c: patch does not apply nor to nouveau-2.6 (commit 72690683e35680d912e9b8ff2ee0b7a18631dd0d) git apply 0001-drm-nouveau-restore-subchannel-object-binding-on-res.patch -v Checking patch drivers/gpu/drm/nouveau/nouveau_dma.c... Checking patch drivers/gpu/drm/nouveau/nouveau_dma.h... Checking patch drivers/gpu/drm/nouveau/nouveau_drv.c... Checking patch drivers/gpu/drm/nouveau/nouveau_drv.h... error: while searching for: struct list_head flip; } nvsw; #ifdef CONFIG_DRM_NOUVEAU_DEBUG struct { bool active; error: patch failed: drivers/gpu/drm/nouveau/nouveau_drv.h:302 error: drivers/gpu/drm/nouveau/nouveau_drv.h: patch does not apply Checking patch drivers/gpu/drm/nouveau/nouveau_fence.c... Checking patch drivers/gpu/drm/nouveau/nv04_fbcon.c... Checking patch drivers/gpu/drm/nouveau/nv50_fbcon.c... Checking patch drivers/gpu/drm/nouveau/nvc0_fbcon.c... Created attachment 65892 [details]
fix v2
I had some local modifications. This one applies to both trees
(In reply to comment #8) > Created an attachment (id=65892) [details] > fix v2 > > I had some local modifications. This one applies to both trees This one works too A patch referencing this bug report has been merged in Linux v3.1-rc1: commit 12a30e267c162145df3c104d0f4aabff7bce56a5 Author: Ben Skeggs <bskeggs@redhat.com> Date: Mon Jul 18 09:56:36 2011 +1000 drm/nv40/gr: rewrite/split context takedown functions Fixed in 3.1.0-rc3+. Thanks! |