summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/psb_intel_drv.h
diff options
context:
space:
mode:
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-06-30 19:39:00 (GMT)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2013-07-23 23:47:16 (GMT)
commit5ea75e0f05d03007369f155c6c67541bc4ec309f (patch)
treeb8c624fce04934ae94559283ce04f99a10a625f4 /drivers/gpu/drm/gma500/psb_intel_drv.h
parent85d9cb41db3bf0f36c999c2e547b37cb9f32367b (diff)
downloadlinux-5ea75e0f05d03007369f155c6c67541bc4ec309f.tar.xz
drm/gma500: Add generic code for clock calculation
This patch aims to unify the bits and pieces that are common (or similar enough) for pll clock calculations. Nothing makes use of this code yet That will come in later patches. Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_intel_drv.h')
-rw-r--r--drivers/gpu/drm/gma500/psb_intel_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_intel_drv.h b/drivers/gpu/drm/gma500/psb_intel_drv.h
index 4dcae42..bfe0408 100644
--- a/drivers/gpu/drm/gma500/psb_intel_drv.h
+++ b/drivers/gpu/drm/gma500/psb_intel_drv.h
@@ -24,6 +24,7 @@
#include <drm/drm_crtc.h>
#include <drm/drm_crtc_helper.h>
#include <linux/gpio.h>
+#include "gma_display.h"
/*
* Display related stuff
@@ -188,6 +189,8 @@ struct psb_intel_crtc {
/* Saved Crtc HW states */
struct psb_intel_crtc_state *crtc_state;
+
+ const struct gma_clock_funcs *clock_funcs;
};
#define to_psb_intel_crtc(x) \