diff options
author | Sai Gurrappadi <sgurrappadi@nvidia.com> | 2014-05-08 15:56:49 -0700 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2014-05-20 02:27:42 -0700 |
commit | fe44932be65c1684726d32ab484692f471d051b1 (patch) | |
tree | 7f9a9d48d4f672133526e10564e5c0578b6419e1 /arch/arm/mach-tegra/cpu-tegra.h | |
parent | a3335cba56e7c877b0363b255044c0dde1ec471d (diff) |
ARM: tegra: Disable cpuquiet governor when idle
The cpuquiet governor shouldn't load the system when in idle so stop the
governor from running when on single core at low frequencies as governed by
idle_bottom_freq.
Bug 200002511
Change-Id: I1fa9e2c320035bab0c4be6a032f53d02b3f0f3ca
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/410386
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpu-tegra.h')
-rw-r--r-- | arch/arm/mach-tegra/cpu-tegra.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra.h b/arch/arm/mach-tegra/cpu-tegra.h index 0fd8b731cb2f..9887cf92f09a 100644 --- a/arch/arm/mach-tegra/cpu-tegra.h +++ b/arch/arm/mach-tegra/cpu-tegra.h @@ -1,7 +1,7 @@ /* * arch/arm/mach-tegra/cpu-tegra.h * - * Copyright (c) 2011-2013, NVIDIA Corporation. All rights reserved. + * Copyright (c) 2011-2014, NVIDIA Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,14 +37,8 @@ unsigned long tegra_cpu_highest_speed(void); #if defined(CONFIG_TEGRA_AUTO_HOTPLUG) && !defined(CONFIG_ARCH_TEGRA_2x_SOC) int tegra_auto_hotplug_init(struct mutex *cpulock); void tegra_auto_hotplug_exit(void); -#ifdef CONFIG_TEGRA_CLUSTER_CONTROL void tegra_auto_hotplug_governor(unsigned int cpu_freq, bool suspend); #else -static inline void tegra_auto_hotplug_governor(unsigned int cpu_freq, - bool suspend) -{} -#endif -#else static inline int tegra_auto_hotplug_init(struct mutex *cpu_lock) { return 0; } static inline void tegra_auto_hotplug_exit(void) |