summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r--drivers/gpu/nvgpu/gm20b/clk_gm20b.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
index 4f63f956..8db4944e 100644
--- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
@@ -378,9 +378,7 @@ static void clk_config_dvfs(struct gk20a *g, struct pll *gpll)
378 struct clk* clk; 378 struct clk* clk;
379 379
380 clk = g->clk.tegra_clk; 380 clk = g->clk.tegra_clk;
381#ifdef CONFIG_TEGRA_CLK_FRAMEWORK
382 clk = clk_get_parent(clk); 381 clk = clk_get_parent(clk);
383#endif
384 382
385 d->mv = tegra_dvfs_predict_mv_at_hz_cur_tfloor(clk, 383 d->mv = tegra_dvfs_predict_mv_at_hz_cur_tfloor(clk,
386 rate_gpc2clk_to_gpu(gpll->freq)); 384 rate_gpc2clk_to_gpu(gpll->freq));
@@ -1324,7 +1322,6 @@ int gm20b_register_gpcclk(struct gk20a *g) {
1324 } 1322 }
1325 1323
1326 clk->g = g; 1324 clk->g = g;
1327 clk->tegra_clk = c;
1328 clk_register_clkdev(c, "gpcclk", "gpcclk"); 1325 clk_register_clkdev(c, "gpcclk", "gpcclk");
1329 1326
1330 return err; 1327 return err;