drm/nve0/fifo: mask unhandled intr bits when seen, rather than all intrs
authorBen Skeggs <bskeggs@redhat.com>
Sun, 23 Feb 2014 13:06:22 +0000 (23:06 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Mar 2014 04:00:48 +0000 (14:00 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/fifo/nve0.c

index dbc3ff632e3ea026530062414e740c0998329702..6853cd2fa6fd1ba67b3b45f03c4c51c1d992a6a8 100644 (file)
@@ -743,9 +743,9 @@ nve0_fifo_intr(struct nouveau_subdev *subdev)
        }
 
        if (stat) {
-               nv_fatal(priv, "unhandled status 0x%08x\n", stat);
+               nv_error(priv, "INTR 0x%08x\n", stat);
+               nv_mask(priv, 0x002140, stat, 0x00000000);
                nv_wr32(priv, 0x002100, stat);
-               nv_wr32(priv, 0x002140, 0);
        }
 }