diff options
author | Jesse Barnes | 2011-04-07 22:53:55 +0200 |
---|---|---|
committer | Keith Packard | 2011-05-14 02:02:44 +0200 |
commit | 4697995b98417c6da9ab2708a36f5e2bc926c8ac (patch) | |
tree | 4cf90662b8ebcec9ac999c140816d130adfae097 /drivers/gpu/drm/i915/i915_drv.h | |
parent | drm/i915: make FDI training a display function (diff) | |
download | kernel-qcow2-linux-4697995b98417c6da9ab2708a36f5e2bc926c8ac.tar.gz kernel-qcow2-linux-4697995b98417c6da9ab2708a36f5e2bc926c8ac.tar.xz kernel-qcow2-linux-4697995b98417c6da9ab2708a36f5e2bc926c8ac.zip |
drm/i915: split irq handling into per-chipset functions
Set the IRQ handling functions in driver load so they'll just be used
directly, rather than branching over most of the code in the chipset
functions.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 4dbf4dfafb59..3c3233413df0 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -1028,6 +1028,12 @@ 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 irqreturn_t ironlake_irq_handler(DRM_IRQ_ARGS); +extern void ironlake_irq_preinstall(struct drm_device *dev); +extern int ironlake_irq_postinstall(struct drm_device *dev); +extern void ironlake_irq_uninstall(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, |