drm: read breadcrumb in IRQ handler
From: Keith Whitwell <keithw@tungstengraphics.com> Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
parent
e7f947b908
commit
6e5fca53c7
|
@ -53,6 +53,8 @@ irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS)
|
||||||
|
|
||||||
I915_WRITE16(I915REG_INT_IDENTITY_R, temp);
|
I915_WRITE16(I915REG_INT_IDENTITY_R, temp);
|
||||||
|
|
||||||
|
dev_priv->sarea_priv->last_dispatch = READ_BREADCRUMB(dev_priv);
|
||||||
|
|
||||||
if (temp & USER_INT_FLAG)
|
if (temp & USER_INT_FLAG)
|
||||||
DRM_WAKEUP(&dev_priv->irq_queue);
|
DRM_WAKEUP(&dev_priv->irq_queue);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue