Skip to contentSkip to conversation

nouveau: Do not use nva3 engine for 0xaf chipset

PATCH In review Henrik Rydberg 2 participants 2 messages Aug 4, 2012 – Aug 5, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nouveau: Do not use nva3 engine for 0xaf chipset

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.

---
Hi Ben,

this patch is still needed in 3.6-rc1, so perhaps we should apply it after all. I have been running it without problems for a long time now.

Thanks,
Henrik

 drivers/gpu/drm/nouveau/nouveau_state.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_state.c +0 -1
index 1cdfd6e..1866dbb 100644
@@ -731,7 +731,6 @@ nouveau_card_init(struct drm_device *dev)
 			case 0xa3:
 			case 0xa5:
 			case 0xa8:
-			case 0xaf:
 				nva3_copy_create(dev);
 				break;
 			}
Signature · 1 line
1.7.11.4
#1 lore raw
Quoted 4 lines · Henrik Rydberg

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.

I've pushed this (with slightly modified commit message) to nouveau git.

I'll get it to Linus' tree in a future -fixes merge.

Thanks,
Ben.

Quoted 34 lines

---
Hi Ben,

this patch is still needed in 3.6-rc1, so perhaps we should apply it after all. I have been running it without problems for a long time now.

Thanks,
Henrik

 drivers/gpu/drm/nouveau/nouveau_state.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_state.c +0 -1
index 1cdfd6e..1866dbb 100644
@@ -731,7 +731,6 @@ nouveau_card_init(struct drm_device *dev)
 			case 0xa3:
 			case 0xa5:
 			case 0xa8:
-			case 0xaf:
 				nva3_copy_create(dev);
 				break;
 			}
Signature · 6 lines
1.7.11.4

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau