summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/clk_gp106.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/clk_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/clk_gp106.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gp106/clk_gp106.c b/drivers/gpu/nvgpu/gp106/clk_gp106.c
index 9a94a7b9..d19baac5 100644
--- a/drivers/gpu/nvgpu/gp106/clk_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/clk_gp106.c
@@ -36,9 +36,6 @@
36 36
37#include <nvgpu/hw/gp106/hw_trim_gp106.h> 37#include <nvgpu/hw/gp106/hw_trim_gp106.h>
38 38
39#define gk20a_dbg_clk(fmt, arg...) \
40 gk20a_dbg(gpu_dbg_clk, fmt, ##arg)
41
42#ifdef CONFIG_DEBUG_FS 39#ifdef CONFIG_DEBUG_FS
43static int clk_gp106_debugfs_init(struct gk20a *g); 40static int clk_gp106_debugfs_init(struct gk20a *g);
44#endif 41#endif
@@ -82,7 +79,7 @@ int gp106_init_clk_support(struct gk20a *g)
82 struct clk_gk20a *clk = &g->clk; 79 struct clk_gk20a *clk = &g->clk;
83 u32 err = 0; 80 u32 err = 0;
84 81
85 gk20a_dbg_fn(""); 82 nvgpu_log_fn(g, " ");
86 83
87 err = nvgpu_mutex_init(&clk->clk_mutex); 84 err = nvgpu_mutex_init(&clk->clk_mutex);
88 if (err) 85 if (err)
@@ -374,7 +371,7 @@ static int clk_gp106_debugfs_init(struct gk20a *g)
374 d = debugfs_create_file("gpc", S_IRUGO | S_IWUSR, clk_freq_ctlr_root, 371 d = debugfs_create_file("gpc", S_IRUGO | S_IWUSR, clk_freq_ctlr_root,
375 g, &gpc_cfc_fops); 372 g, &gpc_cfc_fops);
376 373
377 gk20a_dbg(gpu_dbg_info, "g=%p", g); 374 nvgpu_log(g, gpu_dbg_info, "g=%p", g);
378 375
379 for (i = 0; i < g->clk.namemap_num; i++) { 376 for (i = 0; i < g->clk.namemap_num; i++) {
380 if (g->clk.clk_namemap[i].is_enable) { 377 if (g->clk.clk_namemap[i].is_enable) {