summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/clk_gk20a.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-05-22 02:49:38 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-24 07:55:53 -0400
commitc32aa0170d258f6db5252cc319a58b626bd8f7e0 (patch)
tree54a643057c5e87c492630af172b3cccb21e1116c /drivers/gpu/nvgpu/gk20a/clk_gk20a.h
parentec964208c14e29ea46ea22f44a3ae718f36e17fa (diff)
gpu: nvgpu: remove clk_common.c
clk/clk_common.c includes some linux specific clock calls which can be easily replaced Move linux specific call to platform file Rest of the APIs are removed by directly substituting API code into caller function Jira NVGPU-49 Change-Id: Ia70e7a65c877649699b5d064683c34c0cb696d2e Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1483862 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/clk_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/clk_gk20a.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/clk_gk20a.h b/drivers/gpu/nvgpu/gk20a/clk_gk20a.h
index 76f5de43..65f82263 100644
--- a/drivers/gpu/nvgpu/gk20a/clk_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/clk_gk20a.h
@@ -105,12 +105,6 @@ struct clk_gk20a {
105 105
106struct gpu_ops; 106struct gpu_ops;
107 107
108/* APIs used for both GK20A and GM20B */
109unsigned long gk20a_clk_get_rate(struct gk20a *g);
110int gk20a_clk_set_rate(struct gk20a *g, unsigned long rate);
111long gk20a_clk_round_rate(struct gk20a *g, unsigned long rate);
112struct clk *gk20a_clk_get(struct gk20a *g);
113
114#define KHZ 1000 108#define KHZ 1000
115#define MHZ 1000000 109#define MHZ 1000000
116 110