summaryrefslogtreecommitdiff
path: root/shared-core/i915_drv.h
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2008-07-23 19:55:06 -0400
committerRobert Noland <rnoland@2hip.net>2008-07-23 19:55:06 -0400
commit965a72202b439068e62ac341990f51953457b202 (patch)
treefbd49467efd5f388db6d847c92d7c751e1c2b01c /shared-core/i915_drv.h
parent589f9681734770dce966bcded7d3d4bd78f4bea5 (diff)
i915: Move all of the irq install/uninstall to load time.
This resolves a panic on FreeBSD which was caused by trying to re-initialize the swap lock. It's just much easier to initialize all of the locks at load time. It should also ensure that the vblank structures are available earlier.
Diffstat (limited to 'shared-core/i915_drv.h')
-rw-r--r--shared-core/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 421572cd..a77fcf04 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -307,6 +307,7 @@ extern irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS);
extern void i915_driver_irq_preinstall(struct drm_device * dev);
extern int i915_driver_irq_postinstall(struct drm_device * dev);
extern void i915_driver_irq_uninstall(struct drm_device * dev);
+extern void i915_enable_interrupt(struct drm_device *dev);
extern int i915_vblank_pipe_set(struct drm_device *dev, void *data,
struct drm_file *file_priv);
extern int i915_vblank_pipe_get(struct drm_device *dev, void *data,