diff options
author | Wen Yi <wyi@nvidia.com> | 2012-01-06 16:29:00 -0800 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-01-30 12:31:00 -0800 |
commit | 5058297dfe2449fc2a4e7acdbef3b75caf073c8a (patch) | |
tree | 4ee7eacdfd91b97b524e93988f443e8b7670ef7a /arch/arm/mach-tegra/board.h | |
parent | 3d4928ccd3ec03e676ea92837087c47d37e8707a (diff) |
arm: tegra: modify governor parameter set function
Use the parameter name and value to set to the conservative
governor.
Also defined the value of freq_step to be 3 and set it during
early suspension.
Bug 922351
Reviewed-on: http://git-master/r/73841
Change-Id: Ieefa487f8b255d4bf242a7d98b07dc3758a70e86
Signed-off-by: Wen Yi <wyi@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77743
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board.h')
-rw-r--r-- | arch/arm/mach-tegra/board.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h index 950ccdf21afe..fc22b76160f9 100644 --- a/arch/arm/mach-tegra/board.h +++ b/arch/arm/mach-tegra/board.h @@ -102,13 +102,14 @@ void tegra_get_pmu_board_info(struct board_info *bi); void tegra_get_display_board_info(struct board_info *bi); void tegra_get_camera_board_info(struct board_info *bi); #ifdef CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND -#define SET_CONSERVATIVE_GOVERNOR_UP_THRESHOLD 95 -#define SET_CONSERVATIVE_GOVERNOR_DOWN_THRESHOLD 50 +#define SET_CONSERVATIVE_GOVERNOR_UP_THRESHOLD 95 +#define SET_CONSERVATIVE_GOVERNOR_DOWN_THRESHOLD 50 +#define SET_CONSERVATIVE_GOVERNOR_FREQ_STEP 3 void cpufreq_save_default_governor(void); void cpufreq_restore_default_governor(void); void cpufreq_set_conservative_governor(void); -void cpufreq_set_conservative_governor_param(int up_th, int down_th); +void cpufreq_set_conservative_governor_param(char *name, int value); #endif int get_core_edp(void); enum panel_type get_panel_type(void); |