]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/nvc0: fix typo in PRAMIN flush
authorBen Skeggs <bskeggs@redhat.com>
Mon, 9 Aug 2010 05:18:44 +0000 (15:18 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 9 Aug 2010 05:18:44 +0000 (15:18 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvc0_instmem.c

index e74bd454f63b640c1ae7ccaf9d24b5fb65669be6..3ab3cdc42173300490c7e667eced2f39b0d36690 100644 (file)
@@ -134,7 +134,7 @@ void
 nvc0_instmem_flush(struct drm_device *dev)
 {
        nv_wr32(dev, 0x070000, 1);
-       if (!nv_wait(0x070000, 0x00000001, 0x00000000))
+       if (!nv_wait(0x070000, 0x00000002, 0x00000000))
                NV_ERROR(dev, "PRAMIN flush timeout\n");
 }