diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/clk_gm20b.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c index 173de8c6..56a03e46 100644 --- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c | |||
@@ -1129,7 +1129,7 @@ static int gm20b_init_clk_setup_sw(struct gk20a *g) | |||
1129 | clk->sw_ready = true; | 1129 | clk->sw_ready = true; |
1130 | 1130 | ||
1131 | gk20a_dbg_fn("done"); | 1131 | gk20a_dbg_fn("done"); |
1132 | pr_info("gm20b gpu.0 GPCPLL initial settings:%s M=%u, N=%u, P=%u\n", | 1132 | dev_info(dev_from_gk20a(g), "GPCPLL initial settings:%s M=%u, N=%u, P=%u", |
1133 | clk->gpc_pll.mode == GPC_PLL_MODE_DVFS ? " NA mode," : "", | 1133 | clk->gpc_pll.mode == GPC_PLL_MODE_DVFS ? " NA mode," : "", |
1134 | clk->gpc_pll.M, clk->gpc_pll.N, clk->gpc_pll.PL); | 1134 | clk->gpc_pll.M, clk->gpc_pll.N, clk->gpc_pll.PL); |
1135 | return 0; | 1135 | return 0; |
@@ -1419,7 +1419,8 @@ static int pll_reg_show(struct seq_file *s, void *data) | |||
1419 | 1419 | ||
1420 | mutex_lock(&g->clk.clk_mutex); | 1420 | mutex_lock(&g->clk.clk_mutex); |
1421 | if (!g->clk.clk_hw_on) { | 1421 | if (!g->clk.clk_hw_on) { |
1422 | seq_printf(s, "gk20a powered down - no access to registers\n"); | 1422 | seq_printf(s, "%s powered down - no access to registers\n", |
1423 | dev_name(dev_from_gk20a(g))); | ||
1423 | mutex_unlock(&g->clk.clk_mutex); | 1424 | mutex_unlock(&g->clk.clk_mutex); |
1424 | return 0; | 1425 | return 0; |
1425 | } | 1426 | } |
@@ -1465,7 +1466,8 @@ static int pll_reg_raw_show(struct seq_file *s, void *data) | |||
1465 | 1466 | ||
1466 | mutex_lock(&g->clk.clk_mutex); | 1467 | mutex_lock(&g->clk.clk_mutex); |
1467 | if (!g->clk.clk_hw_on) { | 1468 | if (!g->clk.clk_hw_on) { |
1468 | seq_puts(s, "gk20a powered down - no access to registers\n"); | 1469 | seq_printf(s, "%s powered down - no access to registers\n", |
1470 | dev_name(dev_from_gk20a(g))); | ||
1469 | mutex_unlock(&g->clk.clk_mutex); | 1471 | mutex_unlock(&g->clk.clk_mutex); |
1470 | return 0; | 1472 | return 0; |
1471 | } | 1473 | } |