]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/libdrm.git/commitdiff
nouveau: disable all card interrupts when unknown PFIFO IRQ occurs.
authorBen Skeggs <skeggsb@gmail.com>
Thu, 1 May 2008 14:53:42 +0000 (00:53 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Thu, 1 May 2008 14:53:42 +0000 (00:53 +1000)
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.

shared-core/nouveau_irq.c

index ccbc74205d2f3b93de889ddb3348462cbcd096a4..103fd96b28949afba0f39dc81efc06c91ec0b6da 100644 (file)
@@ -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);