summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nouveau_irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/nouveau_irq.c b/shared-core/nouveau_irq.c
index 9131125f..160016ea 100644
--- a/shared-core/nouveau_irq.c
+++ b/shared-core/nouveau_irq.c
@@ -385,6 +385,8 @@ irqreturn_t nouveau_irq_handler(DRM_IRQ_ARGS)
uint32_t status;
status = NV_READ(NV_PMC_INTSTAT);
+ if (!status)
+ return IRQ_NONE;
DRM_DEBUG("PMC INTSTAT: 0x%08x\n", status);