nouveau: PUT,GET, not 2xPUT
authorPatrice Mandin <pmandin@caramail.com>
Sun, 11 Mar 2007 13:02:40 +0000 (14:02 +0100)
committerPatrice Mandin <pmandin@caramail.com>
Sun, 11 Mar 2007 13:02:40 +0000 (14:02 +0100)
shared-core/nouveau_fifo.c

index 6f75a05..ebdf7fb 100644 (file)
@@ -171,7 +171,7 @@ int nouveau_fifo_init(drm_device_t *dev)
        NV_WRITE(NV03_PFIFO_CACHE1_PUSH1, 0x00000000);
        /* PUT and GET to 0 */
        NV_WRITE(NV04_PFIFO_CACHE1_DMA_PUT, 0x00000000);
-       NV_WRITE(NV04_PFIFO_CACHE1_DMA_PUT, 0x00000000);
+       NV_WRITE(NV04_PFIFO_CACHE1_DMA_GET, 0x00000000);
        /* No cmdbuf object */
        NV_WRITE(NV04_PFIFO_CACHE1_DMA_INSTANCE, 0x00000000);
        NV_WRITE(NV03_PFIFO_CACHE0_PUSH0, 0x00000000);