diff options
author | Hoang Pham <hopham@nvidia.com> | 2014-07-21 18:21:56 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:10:33 -0400 |
commit | f7642ca185356f9f5593dad475a710b965d9826b (patch) | |
tree | 8053f02e6f145d6870c5a0788ce5057a7d3cba1c /drivers/gpu/nvgpu/gk20a/clk_gk20a.h | |
parent | b972f8d15eca74d91b932f16b09aacb893e110a8 (diff) |
gpu: nvgpu: Fork GM20B clock from GK20A clock
Bug 1450787
Change-Id: Id7fb699d9129a272286d6bc93e0e95844440a628
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/440536
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/clk_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/clk_gk20a.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/clk_gk20a.h b/drivers/gpu/nvgpu/gk20a/clk_gk20a.h index 950034a4..4226a375 100644 --- a/drivers/gpu/nvgpu/gk20a/clk_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/clk_gk20a.h | |||
@@ -59,16 +59,16 @@ struct clk_gk20a { | |||
59 | bool debugfs_set; | 59 | bool debugfs_set; |
60 | }; | 60 | }; |
61 | 61 | ||
62 | /* APIs used for separate HAL */ | ||
62 | int gk20a_init_clk_support(struct gk20a *g); | 63 | int gk20a_init_clk_support(struct gk20a *g); |
64 | int gk20a_suspend_clk_support(struct gk20a *g); | ||
65 | struct clk *gk20a_clk_get(struct gk20a *g); | ||
63 | 66 | ||
67 | /* APIs used for both GK20A and GM20B */ | ||
64 | unsigned long gk20a_clk_get_rate(struct gk20a *g); | 68 | unsigned long gk20a_clk_get_rate(struct gk20a *g); |
65 | int gk20a_clk_set_rate(struct gk20a *g, unsigned long rate); | 69 | int gk20a_clk_set_rate(struct gk20a *g, unsigned long rate); |
66 | int gk20a_suspend_clk_support(struct gk20a *g); | ||
67 | struct clk *gk20a_clk_get(struct gk20a *g); | ||
68 | long gk20a_clk_round_rate(struct gk20a *g, unsigned long rate); | 70 | long gk20a_clk_round_rate(struct gk20a *g, unsigned long rate); |
69 | 71 | ||
70 | extern struct pll_parms gpc_pll_params; | ||
71 | |||
72 | #define KHZ 1000 | 72 | #define KHZ 1000 |
73 | #define MHZ 1000000 | 73 | #define MHZ 1000000 |
74 | 74 | ||