mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-04 21:18:05 +02:00
Update the hardware breadcrumb in the sarea on irq reception so that
clients can avoid an ioctl waiting on fences that have already been
received. Would be even better if the hardware did the update itself.
This commit is contained in:
parent
f99fc2c12d
commit
292d4a5b28
1 changed files with 2 additions and 0 deletions
|
|
@ -54,6 +54,8 @@ irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS)
|
|||
|
||||
I915_WRITE16(I915REG_INT_IDENTITY_R, temp);
|
||||
|
||||
dev_priv->sarea_priv->last_dispatch = READ_BREADCRUMB(dev_priv);
|
||||
|
||||
if (temp & USER_INT_FLAG)
|
||||
DRM_WAKEUP(&dev_priv->irq_queue);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue