summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/gma_display.h
diff options
context:
space:
mode:
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-07-12 15:38:52 +0200
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-07-24 01:47:31 +0200
commit924cb5ffd81d66cc6461de955f7cb144cb3b7b6d (patch)
tree7e8caa5e3d60d238ebf79d98b40622eb5aa05f67 /drivers/gpu/drm/gma500/gma_display.h
parentf0ff07b73b9b5be1f725f333d1516d569c697104 (diff)
drm/gma500: Add generic set_config() function
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/gma_display.h b/drivers/gpu/drm/gma500/gma_display.h
index 8847de069516..1044c165c714 100644
--- a/drivers/gpu/drm/gma500/gma_display.h
+++ b/drivers/gpu/drm/gma500/gma_display.h
@@ -22,6 +22,8 @@
#ifndef _GMA_DISPLAY_H_
#define _GMA_DISPLAY_H_
+#include <linux/pm_runtime.h>
+
struct gma_clock_t {
/* given values */
int n;
@@ -80,6 +82,7 @@ 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);
+extern int gma_crtc_set_config(struct drm_mode_set *set);
extern void gma_crtc_save(struct drm_crtc *crtc);
extern void gma_crtc_restore(struct drm_crtc *crtc);