diff options
Diffstat (limited to 'drivers/gpu/drm/gma500/cdv_device.h')
-rw-r--r-- | drivers/gpu/drm/gma500/cdv_device.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/gpu/drm/gma500/cdv_device.h b/drivers/gpu/drm/gma500/cdv_device.h index 9561e17621b3..705c11d47d45 100644 --- a/drivers/gpu/drm/gma500/cdv_device.h +++ b/drivers/gpu/drm/gma500/cdv_device.h | |||
@@ -17,6 +17,7 @@ | |||
17 | 17 | ||
18 | extern const struct drm_crtc_helper_funcs cdv_intel_helper_funcs; | 18 | extern const struct drm_crtc_helper_funcs cdv_intel_helper_funcs; |
19 | extern const struct drm_crtc_funcs cdv_intel_crtc_funcs; | 19 | extern const struct drm_crtc_funcs cdv_intel_crtc_funcs; |
20 | extern const struct gma_clock_funcs cdv_clock_funcs; | ||
20 | extern void cdv_intel_crt_init(struct drm_device *dev, | 21 | extern void cdv_intel_crt_init(struct drm_device *dev, |
21 | struct psb_intel_mode_device *mode_dev); | 22 | struct psb_intel_mode_device *mode_dev); |
22 | extern void cdv_intel_lvds_init(struct drm_device *dev, | 23 | extern void cdv_intel_lvds_init(struct drm_device *dev, |
@@ -25,12 +26,5 @@ extern void cdv_hdmi_init(struct drm_device *dev, struct psb_intel_mode_device * | |||
25 | int reg); | 26 | int reg); |
26 | extern struct drm_display_mode *cdv_intel_crtc_mode_get(struct drm_device *dev, | 27 | extern struct drm_display_mode *cdv_intel_crtc_mode_get(struct drm_device *dev, |
27 | struct drm_crtc *crtc); | 28 | struct drm_crtc *crtc); |
28 | 29 | extern void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc); | |
29 | static inline void cdv_intel_wait_for_vblank(struct drm_device *dev) | 30 | extern void cdv_disable_sr(struct drm_device *dev); |
30 | { | ||
31 | /* Wait for 20ms, i.e. one cycle at 50hz. */ | ||
32 | /* FIXME: msleep ?? */ | ||
33 | mdelay(20); | ||
34 | } | ||
35 | |||
36 | |||