drm/nouveau/fifo/nvc0: bash some magic reg to make uevent interrupt work
authorBen Skeggs <bskeggs@redhat.com>
Thu, 31 Jan 2013 22:43:55 +0000 (17:43 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:47 +0000 (16:00 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/fifo/nvc0.c

index bf86f40..4f226af 100644 (file)
@@ -706,6 +706,7 @@ nvc0_fifo_init(struct nouveau_object *object)
        nv_wr32(priv, 0x002a00, 0xffffffff); /* clears PFIFO.INTR bit 30 */
        nv_wr32(priv, 0x002100, 0xffffffff);
        nv_wr32(priv, 0x002140, 0x3fffffff);
+       nv_wr32(priv, 0x002628, 0x00000001); /* makes mthd 0x20 work */
        return 0;
 }