From: Eric Anholt Date: Mon, 6 Oct 2008 22:14:12 +0000 (-0700) Subject: drm: Increment dev_priv->irq_received so i915_gem_interrupts count works. X-Git-Tag: v2.6.28-rc1~255^2~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=630681d9a5314e6cf53d144f7f58b7c19862a7d3;p=linux-2.6-omap-h63xx.git drm: Increment dev_priv->irq_received so i915_gem_interrupts count works. Signed-off-by: Eric Anholt Signed-off-by: Dave Airlie --- 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);