From 4a43c42229b9a60e36ca5b363bb2b9350f16692c Mon Sep 17 00:00:00 2001 From: Alex Frid Date: Fri, 17 Oct 2014 19:17:34 -0700 Subject: dvfs: tegra21: Rename thermal safe maximum frequency Renamed field and function operated on thermal safe maximum frequency to make it clear that it is fmax at Vmin (not global fmax). Change-Id: Ie2b5234e87dc5dc03ccdaeb2916f0b776e56b640 Signed-off-by: Alex Frid Reviewed-on: http://git-master/r/559058 Reviewed-by: Yu-Huan Hsu --- drivers/gpu/nvgpu/gm20b/clk_gm20b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gm20b/clk_gm20b.c') 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) clk->gpc_pll.id = GK20A_GPC_PLL; clk->gpc_pll.clk_in = clk_get_rate(ref) / KHZ; - safe_rate = tegra_dvfs_get_therm_safe_fmax( + safe_rate = tegra_dvfs_get_fmax_at_vmin_safe_t( clk_get_parent(clk->tegra_clk)); safe_rate = safe_rate * (100 - DVFS_SAFE_MARGIN) / 100; dvfs_safe_max_freq = rate_gpu_to_gpc2clk(safe_rate); -- cgit v1.2.2