drm/nvc0/fifo: mask unhandled intr bits when seen, rather than all intrs

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2014-02-22 00:19:19 +10:00
parent 0357466d7e
commit 22a7a27b18

View 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);
}
}