summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nvhost.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/nvhost.h b/include/linux/nvhost.h
index d6170f7dc..68b967888 100644
--- a/include/linux/nvhost.h
+++ b/include/linux/nvhost.h
@@ -108,6 +108,11 @@ struct nvhost_gating_register {
108 u32 disable; 108 u32 disable;
109}; 109};
110 110
111struct nvhost_actmon_register {
112 u32 addr;
113 u32 val;
114};
115
111struct nvhost_clock { 116struct nvhost_clock {
112 char *name; 117 char *name;
113 unsigned long default_rate; 118 unsigned long default_rate;
@@ -244,6 +249,9 @@ struct nvhost_device_data {
244 bool linear_emc; 249 bool linear_emc;
245 /* Offset to actmon registers */ 250 /* Offset to actmon registers */
246 u32 actmon_regs; 251 u32 actmon_regs;
252 /* WEIGHT_COUNT of actmon */
253 u32 actmon_weight_count;
254 struct nvhost_actmon_register *actmon_setting_regs;
247 /* Devfreq governor name */ 255 /* Devfreq governor name */
248 const char *devfreq_governor; 256 const char *devfreq_governor;
249 unsigned long freqs[NVHOST_MODULE_MAX_FREQS]; 257 unsigned long freqs[NVHOST_MODULE_MAX_FREQS];