diff options
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 35 |
1 files changed, 4 insertions, 31 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index f63ee162f124..f245c588ae95 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -211,6 +211,9 @@ struct drm_i915_display_funcs { | |||
211 | void (*fdi_link_train)(struct drm_crtc *crtc); | 211 | void (*fdi_link_train)(struct drm_crtc *crtc); |
212 | void (*init_clock_gating)(struct drm_device *dev); | 212 | void (*init_clock_gating)(struct drm_device *dev); |
213 | void (*init_pch_clock_gating)(struct drm_device *dev); | 213 | void (*init_pch_clock_gating)(struct drm_device *dev); |
214 | int (*queue_flip)(struct drm_device *dev, struct drm_crtc *crtc, | ||
215 | struct drm_framebuffer *fb, | ||
216 | struct drm_i915_gem_object *obj); | ||
214 | /* clock updates for mode set */ | 217 | /* clock updates for mode set */ |
215 | /* cursor updates */ | 218 | /* cursor updates */ |
216 | /* render clock increase/decrease */ | 219 | /* render clock increase/decrease */ |
@@ -994,8 +997,6 @@ extern unsigned int i915_enable_fbc; | |||
994 | 997 | ||
995 | 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); |
996 | extern int i915_resume(struct drm_device *dev); | 999 | extern int i915_resume(struct drm_device *dev); |
997 | extern void i915_save_display(struct drm_device *dev); | ||
998 | extern void i915_restore_display(struct drm_device *dev); | ||
999 | 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); |
1000 | 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); |
1001 | 1002 | ||
@@ -1030,33 +1031,12 @@ extern int i915_irq_emit(struct drm_device *dev, void *data, | |||
1030 | extern int i915_irq_wait(struct drm_device *dev, void *data, | 1031 | extern int i915_irq_wait(struct drm_device *dev, void *data, |
1031 | struct drm_file *file_priv); | 1032 | struct drm_file *file_priv); |
1032 | 1033 | ||
1033 | extern irqreturn_t i915_driver_irq_handler(DRM_IRQ_ARGS); | 1034 | extern void intel_irq_init(struct drm_device *dev); |
1034 | extern void i915_driver_irq_preinstall(struct drm_device * dev); | ||
1035 | extern int i915_driver_irq_postinstall(struct drm_device *dev); | ||
1036 | extern void i915_driver_irq_uninstall(struct drm_device * dev); | ||
1037 | |||
1038 | extern irqreturn_t ironlake_irq_handler(DRM_IRQ_ARGS); | ||
1039 | extern void ironlake_irq_preinstall(struct drm_device *dev); | ||
1040 | extern int ironlake_irq_postinstall(struct drm_device *dev); | ||
1041 | extern void ironlake_irq_uninstall(struct drm_device *dev); | ||
1042 | |||
1043 | extern irqreturn_t ivybridge_irq_handler(DRM_IRQ_ARGS); | ||
1044 | extern void ivybridge_irq_preinstall(struct drm_device *dev); | ||
1045 | extern int ivybridge_irq_postinstall(struct drm_device *dev); | ||
1046 | extern void ivybridge_irq_uninstall(struct drm_device *dev); | ||
1047 | 1035 | ||
1048 | 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, |
1049 | struct drm_file *file_priv); | 1037 | struct drm_file *file_priv); |
1050 | 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, |
1051 | struct drm_file *file_priv); | 1039 | struct drm_file *file_priv); |
1052 | extern int i915_enable_vblank(struct drm_device *dev, int crtc); | ||
1053 | extern void i915_disable_vblank(struct drm_device *dev, int crtc); | ||
1054 | extern int ironlake_enable_vblank(struct drm_device *dev, int crtc); | ||
1055 | extern void ironlake_disable_vblank(struct drm_device *dev, int crtc); | ||
1056 | extern int ivybridge_enable_vblank(struct drm_device *dev, int crtc); | ||
1057 | extern void ivybridge_disable_vblank(struct drm_device *dev, int crtc); | ||
1058 | extern u32 i915_get_vblank_counter(struct drm_device *dev, int crtc); | ||
1059 | extern u32 gm45_get_vblank_counter(struct drm_device *dev, int crtc); | ||
1060 | extern int i915_vblank_swap(struct drm_device *dev, void *data, | 1040 | extern int i915_vblank_swap(struct drm_device *dev, void *data, |
1061 | struct drm_file *file_priv); | 1041 | struct drm_file *file_priv); |
1062 | 1042 | ||
@@ -1067,13 +1047,6 @@ void | |||
1067 | 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); |
1068 | 1048 | ||
1069 | void intel_enable_asle (struct drm_device *dev); | 1049 | void intel_enable_asle (struct drm_device *dev); |
1070 | int i915_get_vblank_timestamp(struct drm_device *dev, int crtc, | ||
1071 | int *max_error, | ||
1072 | struct timeval *vblank_time, | ||
1073 | unsigned flags); | ||
1074 | |||
1075 | int i915_get_crtc_scanoutpos(struct drm_device *dev, int pipe, | ||
1076 | int *vpos, int *hpos); | ||
1077 | 1050 | ||
1078 | #ifdef CONFIG_DEBUG_FS | 1051 | #ifdef CONFIG_DEBUG_FS |
1079 | extern void i915_destroy_error_state(struct drm_device *dev); | 1052 | extern void i915_destroy_error_state(struct drm_device *dev); |