diff options
author | Eric Anholt <eric@anholt.net> | 2008-10-06 22:14:12 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-10-17 21:10:53 (GMT) |
commit | 630681d9a5314e6cf53d144f7f58b7c19862a7d3 (patch) | |
tree | 4a33e799f6b209412688dbd126b0261a267a18d6 /drivers/gpu | |
parent | 9bfbd5cb72c9edb8504a4a7a0aa89cdb2fcb4845 (diff) | |
download | linux-630681d9a5314e6cf53d144f7f58b7c19862a7d3.tar.xz |
drm: Increment dev_priv->irq_received so i915_gem_interrupts count works.
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/i915_irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index ef03a59..baae511 100644 --- 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); |