mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
drm: Increment dev_priv->irq_received so i915_gem_interrupts count works.
Signed-off-by: Eric Anholt <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
This commit is contained in:
parent
9bfbd5cb72
commit
630681d9a5
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue