summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
diff options
context:
space:
mode:
authorPeter Boonstoppel <pboonstoppel@nvidia.com>2016-10-07 18:30:59 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-11-15 15:30:06 -0500
commit01e61860fafbc0ee045c2db931a79f6c0d5300aa (patch)
tree83c8da282d83fd8d9edc441d561dede6b9a8dece /drivers/gpu/nvgpu/gm20b/clk_gm20b.h
parent3a6d47db9d00f86d90a1230dd2225bf4ae8944b8 (diff)
gpu: nvgpu: gm20b expose gpcclk through CCF
Register gpcclk with Common Clock Framework to expose GPCPLL frequency control Bug 200233943 Change-Id: Id6f7bbaca15f22157b91b092c2a035af933fa71e Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com> Reviewed-on: http://git-master/r/1236979 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/clk_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/clk_gm20b.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.h b/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
index 84a2ce9a..7ea84826 100644
--- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
@@ -21,10 +21,10 @@
21 21
22#include <linux/mutex.h> 22#include <linux/mutex.h>
23 23
24#ifdef CONFIG_TEGRA_CLK_FRAMEWORK
25void gm20b_init_clk_ops(struct gpu_ops *gops); 24void gm20b_init_clk_ops(struct gpu_ops *gops);
26#else 25
27static inline void gm20b_init_clk_ops(struct gpu_ops *gops) {} 26#ifdef CONFIG_COMMON_CLK
27int gm20b_register_gpcclk(struct gk20a *g);
28#endif 28#endif
29 29
30#endif /* _NVHOST_CLK_GM20B_H_ */ 30#endif /* _NVHOST_CLK_GM20B_H_ */