diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/clk_gm20b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c index 568d4dde..7229e168 100644 --- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c | |||
@@ -1105,7 +1105,7 @@ static int gm20b_init_clk_setup_sw(struct gk20a *g) | |||
1105 | clk->gpc_pll.id = GK20A_GPC_PLL; | 1105 | clk->gpc_pll.id = GK20A_GPC_PLL; |
1106 | clk->gpc_pll.clk_in = clk_get_rate(ref) / KHZ; | 1106 | clk->gpc_pll.clk_in = clk_get_rate(ref) / KHZ; |
1107 | 1107 | ||
1108 | safe_rate = tegra_dvfs_get_therm_safe_fmax( | 1108 | safe_rate = tegra_dvfs_get_fmax_at_vmin_safe_t( |
1109 | clk_get_parent(clk->tegra_clk)); | 1109 | clk_get_parent(clk->tegra_clk)); |
1110 | safe_rate = safe_rate * (100 - DVFS_SAFE_MARGIN) / 100; | 1110 | safe_rate = safe_rate * (100 - DVFS_SAFE_MARGIN) / 100; |
1111 | dvfs_safe_max_freq = rate_gpu_to_gpc2clk(safe_rate); | 1111 | dvfs_safe_max_freq = rate_gpu_to_gpc2clk(safe_rate); |