diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 774e4e85..0b91420b 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -230,6 +230,9 @@ struct gpu_ops { | |||
230 | int (*prepare_ucode)(struct gk20a *g); | 230 | int (*prepare_ucode)(struct gk20a *g); |
231 | int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g); | 231 | int (*pmu_setup_hw_and_bootstrap)(struct gk20a *g); |
232 | } pmu; | 232 | } pmu; |
233 | struct { | ||
234 | int (*init_clk_support)(struct gk20a *g); | ||
235 | } clk; | ||
233 | }; | 236 | }; |
234 | 237 | ||
235 | struct gk20a { | 238 | struct gk20a { |
@@ -495,6 +498,8 @@ static inline void gk20a_mem_wr32(void *ptr, int w, u32 data) | |||
495 | ((u32 *)ptr)[w] = data; | 498 | ((u32 *)ptr)[w] = data; |
496 | } | 499 | } |
497 | 500 | ||
501 | void gk20a_init_clk_ops(struct gpu_ops *gops); | ||
502 | |||
498 | /* register accessors */ | 503 | /* register accessors */ |
499 | int gk20a_lockout_registers(struct gk20a *g); | 504 | int gk20a_lockout_registers(struct gk20a *g); |
500 | int gk20a_restore_registers(struct gk20a *g); | 505 | int gk20a_restore_registers(struct gk20a *g); |