summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/clk_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/clk_gm20b.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
index be194228..e4691588 100644
--- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c
@@ -1264,12 +1264,8 @@ static long gm20b_round_rate(struct clk_hw *hw, unsigned long rate,
1264{ 1264{
1265 struct clk_gk20a *clk = to_clk_gk20a(hw); 1265 struct clk_gk20a *clk = to_clk_gk20a(hw);
1266 u32 freq, old_freq; 1266 u32 freq, old_freq;
1267 unsigned long maxrate;
1268 struct pll tmp_pll; 1267 struct pll tmp_pll;
1269 1268
1270 maxrate = tegra_dvfs_get_maxrate(hw->clk);
1271 gpc_pll_params.max_freq = rate_gpu_to_gpc2clk(maxrate);
1272
1273 mutex_lock(&clk->clk_mutex); 1269 mutex_lock(&clk->clk_mutex);
1274 old_freq = clk->gpc_pll.freq; 1270 old_freq = clk->gpc_pll.freq;
1275 freq = rate_gpu_to_gpc2clk(rate); 1271 freq = rate_gpu_to_gpc2clk(rate);