summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-05-02 00:53:42 +1000
committerBen Skeggs <skeggsb@gmail.com>2008-05-02 00:53:42 +1000
commit77d20928b330acda5b6ceb469f50757b5300702b (patch)
treeef681de3c2b547cf83509940c8e55df0a62a15d7
parent5c4c778c0d7d3f4749efade3b1023b8b22c029a9 (diff)
nouveau: disable all card interrupts when unknown PFIFO IRQ occurs.
This is possibly temporary. I can trigger an unending IRQ storm on G8x in some circumstances, and have no idea how to handle that particular PFIFO exception correctly yet.
-rw-r--r--shared-core/nouveau_irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/nouveau_irq.c b/shared-core/nouveau_irq.c
index ccbc7420..103fd96b 100644
--- a/shared-core/nouveau_irq.c
+++ b/shared-core/nouveau_irq.c
@@ -120,6 +120,7 @@ nouveau_fifo_irq_handler(struct drm_device *dev)
if (status) {
DRM_INFO("Unhandled PFIFO_INTR - 0x%08x\n", status);
NV_WRITE(NV03_PFIFO_INTR_0, status);
+ NV_WRITE(NV03_PMC_INTR_EN_0, 0);
}
NV_WRITE(NV03_PFIFO_CACHES, reassign);