diff options
author | Alex Frid <afrid@nvidia.com> | 2013-10-11 19:35:38 -0700 |
---|---|---|
committer | Yu-Huan Hsu <yhsu@nvidia.com> | 2013-10-22 17:05:08 -0700 |
commit | fa587a0efbcfb186a60f90f9770fdb60481974f9 (patch) | |
tree | 5581df6597130e3329bad6692935908a9a2ffa3b /arch/arm/mach-tegra/dvfs.h | |
parent | 3e4ef1533a6703df8d790d0fa16c771347241e0f (diff) |
ARM: tegra: dvfs: Install thermal DVFS peak voltages
Initialized peak voltages array in DVFS structure for clocks that have
thermal DVFS. Updated Tegra12 GPU DVFS initialization respectively. As
a result peak voltage prediction interface now actually returns maximum
voltage across thermal DVFS ranges at requested frequency.
Re-used peak voltage array as safe DVFS table if registration of the
scaling cooling device failed.
Added peak voltages to debugfs.
Bug 1307919
Change-Id: I7f004bc2cc4707cc4b50afacbca4e085e4c28c77
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/298528
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/dvfs.h')
-rw-r--r-- | arch/arm/mach-tegra/dvfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/dvfs.h b/arch/arm/mach-tegra/dvfs.h index 063860ed7b33..b981a12ecbaf 100644 --- a/arch/arm/mach-tegra/dvfs.h +++ b/arch/arm/mach-tegra/dvfs.h @@ -265,8 +265,8 @@ void tegra_dvfs_rail_init_vmax_thermal_profile( struct dvfs_rail *rail, struct dvfs_dfll_data *d); int tegra_dvfs_rail_init_thermal_dvfs_trips( int *therm_trips_table, struct dvfs_rail *rail); -int tegra_dvfs_init_thermal_dvfs_voltages( - int *millivolts, int freqs_num, int ranges_num, struct dvfs *d); +int tegra_dvfs_init_thermal_dvfs_voltages(int *millivolts, + int *peak_millivolts, int freqs_num, int ranges_num, struct dvfs *d); int tegra_dvfs_rail_dfll_mode_set_cold(struct dvfs_rail *rail); #ifndef CONFIG_ARCH_TEGRA_2x_SOC |