diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index eddabf68e97a..f245c588ae95 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -997,8 +997,6 @@ extern unsigned int i915_enable_fbc; | |||
997 | 997 | ||
998 | extern int i915_suspend(struct drm_device *dev, pm_message_t state); | 998 | extern int i915_suspend(struct drm_device *dev, pm_message_t state); |
999 | extern int i915_resume(struct drm_device *dev); | 999 | extern int i915_resume(struct drm_device *dev); |
1000 | extern void i915_save_display(struct drm_device *dev); | ||
1001 | extern void i915_restore_display(struct drm_device *dev); | ||
1002 | extern int i915_master_create(struct drm_device *dev, struct drm_master *master); | 1000 | extern int i915_master_create(struct drm_device *dev, struct drm_master *master); |
1003 | extern void i915_master_destroy(struct drm_device *dev, struct drm_master *master); | 1001 | extern void i915_master_destroy(struct drm_device *dev, struct drm_master *master); |
1004 | 1002 | ||
@@ -1033,33 +1031,12 @@ extern int i915_irq_emit(struct drm_device *dev, void *data, | |||
1033 | extern int i915_irq_wait(struct drm_device *dev, void *data, | 1031 | extern int i915_irq_wait(struct drm_device *dev, void *data, |
1034 | struct drm_file *file_priv); | 1032 | struct drm_file *file_priv); |
1035 | 1033 | ||
1036 | extern irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS); | 1034 | extern void intel_irq_init(struct drm_device *dev); |
1037 | extern void i915_driver_irq_preinstall(struct drm_device * dev); | ||
1038 | extern int i915_driver_irq_postinstall(struct drm_device *dev); | ||
1039 | extern void i915_driver_irq_uninstall(struct drm_device * dev); | ||
1040 | |||
1041 | extern irqreturn_t ironlake_irq_handler(DRM_IRQ_ARGS); | ||
1042 | extern void ironlake_irq_preinstall(struct drm_device *dev); | ||
1043 | extern int ironlake_irq_postinstall(struct drm_device *dev); | ||
1044 | extern void ironlake_irq_uninstall(struct drm_device *dev); | ||
1045 | |||
1046 | extern irqreturn_t ivybridge_irq_handler(DRM_IRQ_ARGS); | ||
1047 | extern void ivybridge_irq_preinstall(struct drm_device *dev); | ||
1048 | extern int ivybridge_irq_postinstall(struct drm_device *dev); | ||
1049 | extern void ivybridge_irq_uninstall(struct drm_device *dev); | ||
1050 | 1035 | ||
1051 | extern int i915_vblank_pipe_set(struct drm_device *dev, void *data, | 1036 | extern int i915_vblank_pipe_set(struct drm_device *dev, void *data, |
1052 | struct drm_file *file_priv); | 1037 | struct drm_file *file_priv); |
1053 | extern int i915_vblank_pipe_get(struct drm_device *dev, void *data, | 1038 | extern int i915_vblank_pipe_get(struct drm_device *dev, void *data, |
1054 | struct drm_file *file_priv); | 1039 | struct drm_file *file_priv); |
1055 | extern int i915_enable_vblank(struct drm_device *dev, int crtc); | ||
1056 | extern void i915_disable_vblank(struct drm_device *dev, int crtc); | ||
1057 | extern int ironlake_enable_vblank(struct drm_device *dev, int crtc); | ||
1058 | extern void ironlake_disable_vblank(struct drm_device *dev, int crtc); | ||
1059 | extern int ivybridge_enable_vblank(struct drm_device *dev, int crtc); | ||
1060 | extern void ivybridge_disable_vblank(struct drm_device *dev, int crtc); | ||
1061 | extern u32 i915_get_vblank_counter(struct drm_device *dev, int crtc); | ||
1062 | extern u32 gm45_get_vblank_counter(struct drm_device *dev, int crtc); | ||
1063 | extern int i915_vblank_swap(struct drm_device *dev, void *data, | 1040 | extern int i915_vblank_swap(struct drm_device *dev, void *data, |
1064 | struct drm_file *file_priv); | 1041 | struct drm_file *file_priv); |
1065 | 1042 | ||
@@ -1070,13 +1047,6 @@ void | |||
1070 | i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask); | 1047 | i915_disable_pipestat(drm_i915_private_t *dev_priv, int pipe, u32 mask); |
1071 | 1048 | ||
1072 | void intel_enable_asle (struct drm_device *dev); | 1049 | void intel_enable_asle (struct drm_device *dev); |
1073 | int i915_get_vblank_timestamp(struct drm_device *dev, int crtc, | ||
1074 | int *max_error, | ||
1075 | struct timeval *vblank_time, | ||
1076 | unsigned flags); | ||
1077 | |||
1078 | int i915_get_crtc_scanoutpos(struct drm_device *dev, int pipe, | ||
1079 | int *vpos, int *hpos); | ||
1080 | 1050 | ||
1081 | #ifdef CONFIG_DEBUG_FS | 1051 | #ifdef CONFIG_DEBUG_FS |
1082 | extern void i915_destroy_error_state(struct drm_device *dev); | 1052 | extern void i915_destroy_error_state(struct drm_device *dev); |