summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-04-26 14:50:00 +1000
committerDave Airlie <airlied@linux.ie>2007-04-26 14:50:00 +1000
commit34be91fe4e9f0ad73b7c4354aea0c8ce10f45f68 (patch)
tree02f29d0c6fcca43bacb0738ef9ea617d43a47201 /shared-core
parentceb44021ad7755721acc3c0307c54009b666442e (diff)
i915: fix vblank pipe setup
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_drv.h1
-rw-r--r--shared-core/i915_irq.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 2dd76d30..946e464f 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -237,6 +237,7 @@ extern int i915_vblank_pipe_get(DRM_IOCTL_ARGS);
extern int i915_emit_irq(drm_device_t * dev);
extern void i915_user_irq_on(drm_i915_private_t *dev_priv);
extern void i915_user_irq_off(drm_i915_private_t *dev_priv);
+extern void i915_enable_interrupt (drm_device_t *dev);
extern int i915_vblank_swap(DRM_IOCTL_ARGS);
/* i915_mem.c */
diff --git a/shared-core/i915_irq.c b/shared-core/i915_irq.c
index 4047e77e..870fe402 100644
--- a/shared-core/i915_irq.c
+++ b/shared-core/i915_irq.c
@@ -489,7 +489,7 @@ int i915_irq_wait(DRM_IOCTL_ARGS)
return i915_wait_irq(dev, irqwait.irq_seq);
}
-static void i915_enable_interrupt (drm_device_t *dev)
+void i915_enable_interrupt (drm_device_t *dev)
{
drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;