diff options
author | Alex Frid <afrid@nvidia.com> | 2012-05-26 21:54:36 -0700 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2012-06-08 16:07:12 +0530 |
commit | 89cf16f74f8448c9bfea406cb78f037bc85dde10 (patch) | |
tree | a94b5a9b5a53851c960febfdf08117cae650640a /arch/arm/mach-tegra/tegra3_dvfs.c | |
parent | df5e4c2dac995d1d07b4509a9c7e06e946288d9f (diff) |
ARM: tegra: dvfs: Alter CPU dvfs on EDP events
Extended EDP processing of cpu up/down events with calls to alter CPU
dvfs table. This is in addition to already supported changing of CPU
dvfs on EDP thermal event. For now, added calls do not actually alter
the table.
Change-Id: I1cbf2c54eeca8dea1e7b6f4c65d8dbaf563a980e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/104883
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_dvfs.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra3_dvfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/tegra3_dvfs.c b/arch/arm/mach-tegra/tegra3_dvfs.c index 6b1f659e7e72..7b9b01d1e281 100644 --- a/arch/arm/mach-tegra/tegra3_dvfs.c +++ b/arch/arm/mach-tegra/tegra3_dvfs.c @@ -663,7 +663,8 @@ void __init tegra3_init_dvfs(void) tegra_dvfs_core_disabled ? "disabled" : "enabled"); } -void tegra_cpu_dvfs_alter(int edp_thermal_index, bool before_clk_update) +void tegra_cpu_dvfs_alter(int edp_thermal_index, const cpumask_t *cpus, + bool before_clk_update) { bool cpu_warm = !!edp_thermal_index; unsigned long *alt_freqs = cpu_warm ? NULL : cpu_cold_freqs; |