summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/psb_intel_drv.h
diff options
context:
space:
mode:
authorPatrik Jakobsson2013-06-30 21:39:00 +0200
committerPatrik Jakobsson2013-07-24 01:47:16 +0200
commit5ea75e0f05d03007369f155c6c67541bc4ec309f (patch)
treeb8c624fce04934ae94559283ce04f99a10a625f4 /drivers/gpu/drm/gma500/psb_intel_drv.h
parentdrm: remove drm_order (diff)
downloadkernel-qcow2-linux-5ea75e0f05d03007369f155c6c67541bc4ec309f.tar.gz
kernel-qcow2-linux-5ea75e0f05d03007369f155c6c67541bc4ec309f.tar.xz
kernel-qcow2-linux-5ea75e0f05d03007369f155c6c67541bc4ec309f.zip
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 4dcae421a58d..bfe0408c1291 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) \