summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_gpu.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2013-11-15 15:03:15 +0100
committerRob Clark <robdclark@gmail.com>2014-01-09 20:38:58 +0100
commitbf2b33afb9ea1d9609767c70562610a686bdfbd7 (patch)
treea7b9f940bc3f0ce318cdc67bf6795555015307c0 /drivers/gpu/drm/msm/msm_gpu.h
parentdrm/msm: add missing MODULE_FIRMWARE()s (diff)
downloadlinux-bf2b33afb9ea1d9609767c70562610a686bdfbd7.tar.xz
linux-bf2b33afb9ea1d9609767c70562610a686bdfbd7.zip
drm/msm: fix bus scaling
This got a bit broken with original patches when re-arranging things to move dependencies on mach-msm inside #ifndef OF. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gpu.h')
-rw-r--r--drivers/gpu/drm/msm/msm_gpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gpu.h b/drivers/gpu/drm/msm/msm_gpu.h
index 8cd829e520bb..08d08420cbcc 100644
--- a/drivers/gpu/drm/msm/msm_gpu.h
+++ b/drivers/gpu/drm/msm/msm_gpu.h
@@ -85,7 +85,11 @@ struct msm_gpu {
struct regulator *gpu_reg, *gpu_cx;
struct clk *ebi1_clk, *grp_clks[5];
uint32_t fast_rate, slow_rate, bus_freq;
+
+#ifdef CONFIG_MSM_BUS_SCALING
+ struct msm_bus_scale_pdata *bus_scale_table;
uint32_t bsc;
+#endif
/* Hang Detction: */
#define DRM_MSM_HANGCHECK_PERIOD 500 /* in ms */