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

index 919980d902d1d264f031c9821a4786986190413b..5472f01272e988ddb8d17ab2ed7eb9231bcf8a6f 100644 (file)
@@ -594,9 +594,9 @@ nvc0_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);
        }
 }