Skip to content

Commit

Permalink
drm: read breadcrumb in IRQ handler
Browse files Browse the repository at this point in the history
From: Keith Whitwell <keithw@tungstengraphics.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Dave Airlie committed Mar 20, 2006
1 parent e7f947b commit 6e5fca5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/char/drm/i915_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,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);

Expand Down

0 comments on commit 6e5fca5

Please sign in to comment.