From f7642ca185356f9f5593dad475a710b965d9826b Mon Sep 17 00:00:00 2001 From: Hoang Pham Date: Mon, 21 Jul 2014 15:21:56 -0700 Subject: gpu: nvgpu: Fork GM20B clock from GK20A clock Bug 1450787 Change-Id: Id7fb699d9129a272286d6bc93e0e95844440a628 Signed-off-by: Hoang Pham Reviewed-on: http://git-master/r/440536 Reviewed-by: Yu-Huan Hsu --- drivers/gpu/nvgpu/gk20a/clk_gk20a.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/clk_gk20a.h') 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 { bool debugfs_set; }; +/* APIs used for separate HAL */ int gk20a_init_clk_support(struct gk20a *g); +int gk20a_suspend_clk_support(struct gk20a *g); +struct clk *gk20a_clk_get(struct gk20a *g); +/* APIs used for both GK20A and GM20B */ unsigned long gk20a_clk_get_rate(struct gk20a *g); int gk20a_clk_set_rate(struct gk20a *g, unsigned long rate); -int gk20a_suspend_clk_support(struct gk20a *g); -struct clk *gk20a_clk_get(struct gk20a *g); long gk20a_clk_round_rate(struct gk20a *g, unsigned long rate); -extern struct pll_parms gpc_pll_params; - #define KHZ 1000 #define MHZ 1000000 -- cgit v1.2.2