projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bfbd5c
)
drm: Increment dev_priv->irq_received so i915_gem_interrupts count works.
author
Eric Anholt
<eric@anholt.net>
Mon, 6 Oct 2008 22:14:12 +0000
(15:14 -0700)
committer
Dave Airlie
<airlied@linux.ie>
Fri, 17 Oct 2008 21:10:53 +0000
(07:10 +1000)
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_irq.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_irq.c
b/drivers/gpu/drm/i915/i915_irq.c
index ef03a59c1df870a622b4f09690b2c9feb8070d0c..baae511c785b6297115b47a20a23e6568bb8cca3 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_irq.c
+++ b/
drivers/gpu/drm/i915/i915_irq.c
@@
-372,6
+372,8
@@
irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS)
u32 pipea_stats, pipeb_stats;
int vblank = 0;
+ atomic_inc(&dev_priv->irq_received);
+
if (dev->pdev->msi_enabled)
I915_WRITE(IMR, ~0);
iir = I915_READ(IIR);