summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk/clk_mclk.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_mclk.h')
-rw-r--r--drivers/gpu/nvgpu/clk/clk_mclk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_mclk.h b/drivers/gpu/nvgpu/clk/clk_mclk.h
index c3261eac..edb7eb78 100644
--- a/drivers/gpu/nvgpu/clk/clk_mclk.h
+++ b/drivers/gpu/nvgpu/clk/clk_mclk.h
@@ -19,13 +19,14 @@
19enum gk20a_mclk_speed { 19enum gk20a_mclk_speed {
20 gk20a_mclk_low_speed, 20 gk20a_mclk_low_speed,
21 gk20a_mclk_mid_speed, 21 gk20a_mclk_mid_speed,
22 gk20a_mclk_high_speed 22 gk20a_mclk_high_speed,
23}; 23};
24 24
25struct clk_mclk_state { 25struct clk_mclk_state {
26 enum gk20a_mclk_speed speed; 26 enum gk20a_mclk_speed speed;
27 struct mutex mclk_mutex; 27 struct mutex mclk_mutex;
28 void *vreg_buf; 28 void *vreg_buf;
29 bool init;
29 30
30 /* function pointers */ 31 /* function pointers */
31 int (*change)(struct gk20a *g, enum gk20a_mclk_speed speed); 32 int (*change)(struct gk20a *g, enum gk20a_mclk_speed speed);