summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-09-05 20:17:12 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-09-05 20:17:12 +0000
commit5d6150a2345b33e463ce7fae500b98300dbdcc02 (patch)
tree0957658d923af7a31179b14429c5891a8ae3d82f
parent34d49f8f61c473b5a68a77d4967cc01eb1589e56 (diff)
fix vblank interrupt mask. Unbreaks sync-to-vblank and anything that
needs the actual interrupts. Oops!
-rw-r--r--sys/dev/pci/drm/i915_irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915_irq.c b/sys/dev/pci/drm/i915_irq.c
index bb26e4b13d8..ac67dc22d84 100644
--- a/sys/dev/pci/drm/i915_irq.c
+++ b/sys/dev/pci/drm/i915_irq.c
@@ -38,8 +38,8 @@ int i915_wait_irq(struct drm_device *, int);
/** These are the interrupts used by the driver */
#define I915_INTERRUPT_ENABLE_MASK (I915_USER_INTERRUPT | \
- I915_DISPLAY_PIPE_A_VBLANK_INTERRUPT | \
- I915_DISPLAY_PIPE_B_VBLANK_INTERRUPT)
+ I915_DISPLAY_PIPE_A_EVENT_INTERRUPT | \
+ I915_DISPLAY_PIPE_B_EVENT_INTERRUPT)
inline void
i915_enable_irq(drm_i915_private_t *dev_priv, u_int32_t mask)