mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-31 12:30:14 +01:00
Don't clear USER_INTERRUPT if we're not handling it.
This fixes a regression from commit d434b64f6a
which could cause us to fail to wake up for user interrupts if we lost a race.
This commit is contained in:
parent
b2606e325a
commit
cc74ac3590
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS)
|
|||
if (dev_priv->sarea_priv)
|
||||
dev_priv->sarea_priv->last_dispatch = READ_BREADCRUMB(dev_priv);
|
||||
|
||||
I915_WRITE(I915REG_INT_IDENTITY_R, iir | I915_USER_INTERRUPT);
|
||||
I915_WRITE(I915REG_INT_IDENTITY_R, iir);
|
||||
(void) I915_READ(I915REG_INT_IDENTITY_R); /* Flush posted write */
|
||||
|
||||
if (iir & I915_USER_INTERRUPT) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue