diff options
Diffstat (limited to 'drivers/gpu/nvgpu/pstate/pstate.h')
-rw-r--r-- | drivers/gpu/nvgpu/pstate/pstate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pstate/pstate.h b/drivers/gpu/nvgpu/pstate/pstate.h index b6519c20..af0956e8 100644 --- a/drivers/gpu/nvgpu/pstate/pstate.h +++ b/drivers/gpu/nvgpu/pstate/pstate.h | |||
@@ -48,6 +48,9 @@ struct pstate { | |||
48 | struct pstates { | 48 | struct pstates { |
49 | struct boardobjgrp_e32 super; | 49 | struct boardobjgrp_e32 super; |
50 | u32 num_levels; | 50 | u32 num_levels; |
51 | wait_queue_head_t pstate_notifier_wq; | ||
52 | u32 is_pstate_switch_on; | ||
53 | struct mutex pstate_mutex; /* protect is_pstate_switch_on */ | ||
51 | }; | 54 | }; |
52 | 55 | ||
53 | int gk20a_init_pstate_support(struct gk20a *g); | 56 | int gk20a_init_pstate_support(struct gk20a *g); |
@@ -55,5 +58,6 @@ int gk20a_init_pstate_pmu_support(struct gk20a *g); | |||
55 | 58 | ||
56 | struct clk_set_info *pstate_get_clk_set_info(struct gk20a *g, u32 pstate_num, | 59 | struct clk_set_info *pstate_get_clk_set_info(struct gk20a *g, u32 pstate_num, |
57 | enum nv_pmu_clk_clkwhich clkwhich); | 60 | enum nv_pmu_clk_clkwhich clkwhich); |
61 | struct pstate *pstate_find(struct gk20a *g, u32 num); | ||
58 | 62 | ||
59 | #endif /* __PSTATE_H__ */ | 63 | #endif /* __PSTATE_H__ */ |