linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [REGRESSION] nouveau: Memory corruption using nva3 engine for 0xaf
@ 2012-07-05  6:31 Henrik Rydberg
  2012-07-05  6:40 ` Ben Skeggs
  2013-06-04 20:48 ` [REGRESSION] nouveau: Resume hung after protecting against client races (MBA3,1) Henrik Rydberg
  0 siblings, 2 replies; 8+ messages in thread
From: Henrik Rydberg @ 2012-07-05  6:31 UTC (permalink / raw)
  To: Ben Skeggs; +Cc: Dave Airlie, nouveau, dri-devel, linux-kernel, Henrik Rydberg

Hi Ben, Dave,

Since 3.5-rc0, I have been experiencing occasional screen corruption
on my MacBookAir3,1, using a GeForce 320M (nv50, 0xaf). The X driver
version is xf86-video-nouvea-1.0.1-1 (arch).

I do not know what the root problem is, but I have been able to
isolate the symptoms to the usage of nva3_copy.c. The patch below is
the least intrusive way I could find which kills the symptoms.

Hopefully this will sched some light on the true problem, such that a
fix can be found for 3.5.

Thanks,
Henrik

The nva3 copy engine exhibits random memory corruption in at least one
case, the GeForce 320M (nv50, 0xaf) in the MacBookAir3,1.  This patch
omits creating the engine for the specific chipset, falling back to
M2MF, which kills the symptoms.
---
 drivers/gpu/drm/nouveau/nouveau_state.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index 19706f0..b466937 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -731,7 +731,6 @@ nouveau_card_init(struct drm_device *dev)
 			case 0xa3:
 			case 0xa5:
 			case 0xa8:
-			case 0xaf:
 				nva3_copy_create(dev);
 				break;
 			}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-06-04 21:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-05  6:31 [REGRESSION] nouveau: Memory corruption using nva3 engine for 0xaf Henrik Rydberg
2012-07-05  6:40 ` Ben Skeggs
2012-07-05  6:54   ` Henrik Rydberg
2012-07-05  8:34     ` Henrik Rydberg
2012-07-09 13:13       ` Henrik Rydberg
2012-07-09 18:27         ` Henrik Rydberg
2013-06-04 20:48 ` [REGRESSION] nouveau: Resume hung after protecting against client races (MBA3,1) Henrik Rydberg
2013-06-04 21:16   ` Ilia Mirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).