]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/nouveau: disable copy engine on NVAF
authorHenrik Rydberg <rydberg@euromail.se>
Sat, 4 Aug 2012 06:00:45 +0000 (08:00 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 13 Aug 2012 23:36:52 +0000 (09:36 +1000)
The 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.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c

index 1cdfd6e757ce7455c03ea35eaef42dbe6253ab7b..1866dbb499792e4e4758938c50802d11beb29bb7 100644 (file)
@@ -731,7 +731,6 @@ nouveau_card_init(struct drm_device *dev)
                        case 0xa3:
                        case 0xa5:
                        case 0xa8:
-                       case 0xaf:
                                nva3_copy_create(dev);
                                break;
                        }