mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
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 <afrid@nvidia.com> Reviewed-on: http://git-master/r/559058 Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user