diff options
author | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-07-05 16:41:49 +0200 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2013-07-24 01:47:19 +0200 |
commit | 2eff0b3359c097bbcfe4850dfdf9c94e514ddfee (patch) | |
tree | 67d068335a54064b4c2b4e7c156ad750df160a95 /drivers/gpu/drm/gma500/gma_display.h | |
parent | f0e9d89b9b7f3c4b1d21ca2e0d25e3ebe5d2a1d2 (diff) | |
download | linux-2eff0b3359c097bbcfe4850dfdf9c94e514ddfee.tar.bz2 |
drm/gma500: Add generic pipe/crtc functions
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/gma_display.h')
-rw-r--r-- | drivers/gpu/drm/gma500/gma_display.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/gma_display.h b/drivers/gpu/drm/gma500/gma_display.h index a5d8aa31b5b7..24a582e009e6 100644 --- a/drivers/gpu/drm/gma500/gma_display.h +++ b/drivers/gpu/drm/gma500/gma_display.h @@ -61,6 +61,20 @@ struct gma_clock_funcs { /* Common pipe related functions */ extern bool gma_pipe_has_type(struct drm_crtc *crtc, int type); +extern void gma_wait_for_vblank(struct drm_device *dev); +extern int gma_pipe_set_base(struct drm_crtc *crtc, int x, int y, + struct drm_framebuffer *old_fb); +extern void gma_crtc_load_lut(struct drm_crtc *crtc); +extern void gma_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, + u16 *blue, u32 start, u32 size); +extern void gma_crtc_dpms(struct drm_crtc *crtc, int mode); +extern bool gma_crtc_mode_fixup(struct drm_crtc *crtc, + const struct drm_display_mode *mode, + struct drm_display_mode *adjusted_mode); +extern void gma_crtc_prepare(struct drm_crtc *crtc); +extern void gma_crtc_commit(struct drm_crtc *crtc); +extern void gma_crtc_disable(struct drm_crtc *crtc); +extern void gma_crtc_destroy(struct drm_crtc *crtc); /* Common clock related functions */ extern const struct gma_limit_t *gma_limit(struct drm_crtc *crtc, int refclk); |