projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e19b20b
)
drm/nouveau: detect disabled device in irq handler and return IRQ_NONE
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 12 Jul 2011 05:42:45 +0000
(15:42 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Sun, 24 Jul 2011 23:42:09 +0000
(09:42 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_irq.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_irq.c
b/drivers/gpu/drm/nouveau/nouveau_irq.c
index
2ba7265
..
868c7fd
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_irq.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_irq.c
@@
-79,7
+79,7
@@
nouveau_irq_handler(DRM_IRQ_ARGS)
int i;
stat = nv_rd32(dev, NV03_PMC_INTR_0);
- if (
!stat
)
+ if (
stat == 0 || stat == ~0
)
return IRQ_NONE;
spin_lock_irqsave(&dev_priv->context_switch_lock, flags);