summaryrefslogtreecommitdiff
path: root/shared-core/i915_irq.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-29 18:40:08 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-08-29 18:40:08 +0200
commit23f01c9fe8e6170459fe46ad5fc9757bbe967d96 (patch)
tree4232a55059e6c22e57649019b72f31c30d763ed5 /shared-core/i915_irq.c
parent0dedfc2cd03f50b435476e56637b333d345fddbd (diff)
Checkpoint commit. Buffer object flags and IOCTL argument list.
Diffstat (limited to 'shared-core/i915_irq.c')
-rw-r--r--shared-core/i915_irq.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c
index 08d3140b..4195555e 100644
--- a/shared-core/i915_irq.c
+++ b/shared-core/i915_irq.c
@@ -275,6 +275,12 @@ void i915_driver_irq_postinstall(drm_device_t * dev)
i915_enable_interrupt(dev);
DRM_INIT_WAITQUEUE(&dev_priv->irq_queue);
+
+ /*
+ * Initialize the hardware status page IRQ location.
+ */
+
+ I915_WRITE(I915REG_INSTPM, ( 1 << 5) | ( 1 << 21));
}
void i915_driver_irq_uninstall(drm_device_t * dev)