aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-04-23 11:17:39 -0400
committerEric Anholt <eric@anholt.net>2010-05-07 16:59:29 -0400
commitee5382aedf669127bf672a3fc5313247fc288e26 (patch)
treebe918143748c8b08cdcf88486c1ce09b22af2ab0 /drivers/gpu/drm/i915/i915_drv.h
parent1637ef413b9a5d1c14eb370f7029a5558f3bb3d3 (diff)
drm/i915: Make fbc control wrapper functions
Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 242993bedab3..c06d203b709b 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -175,7 +175,7 @@ struct drm_i915_error_state {
175 175
176struct drm_i915_display_funcs { 176struct drm_i915_display_funcs {
177 void (*dpms)(struct drm_crtc *crtc, int mode); 177 void (*dpms)(struct drm_crtc *crtc, int mode);
178 bool (*fbc_enabled)(struct drm_crtc *crtc); 178 bool (*fbc_enabled)(struct drm_device *dev);
179 void (*enable_fbc)(struct drm_crtc *crtc, unsigned long interval); 179 void (*enable_fbc)(struct drm_crtc *crtc, unsigned long interval);
180 void (*disable_fbc)(struct drm_device *dev); 180 void (*disable_fbc)(struct drm_device *dev);
181 int (*get_display_clock_speed)(struct drm_device *dev); 181 int (*get_display_clock_speed)(struct drm_device *dev);
@@ -1006,6 +1006,9 @@ extern void intel_modeset_cleanup(struct drm_device *dev);
1006extern int intel_modeset_vga_set_state(struct drm_device *dev, bool state); 1006extern int intel_modeset_vga_set_state(struct drm_device *dev, bool state);
1007extern void i8xx_disable_fbc(struct drm_device *dev); 1007extern void i8xx_disable_fbc(struct drm_device *dev);
1008extern void g4x_disable_fbc(struct drm_device *dev); 1008extern void g4x_disable_fbc(struct drm_device *dev);
1009extern void intel_disable_fbc(struct drm_device *dev);
1010extern void intel_enable_fbc(struct drm_crtc *crtc, unsigned long interval);
1011extern bool intel_fbc_enabled(struct drm_device *dev);
1009 1012
1010extern void intel_detect_pch (struct drm_device *dev); 1013extern void intel_detect_pch (struct drm_device *dev);
1011extern int intel_trans_dp_port_sel (struct drm_crtc *crtc); 1014extern int intel_trans_dp_port_sel (struct drm_crtc *crtc);