diff options
author | Eric Anholt <eric@anholt.net> | 2008-10-06 15:14:12 -0700 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-10-18 07:10:53 +1000 |
commit | 630681d9a5314e6cf53d144f7f58b7c19862a7d3 (patch) | |
tree | 4a33e799f6b209412688dbd126b0261a267a18d6 /drivers/gpu | |
parent | 9bfbd5cb72c9edb8504a4a7a0aa89cdb2fcb4845 (diff) |
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 ef03a59c1df..baae511c785 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); |