diff options
author | Jonghwa Lee <jonghwa3.lee@samsung.com> | 2013-11-08 16:20:45 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:45:59 +0900 |
commit | 9606dbb80d44a82b73357f0623e63513547c0599 (patch) | |
tree | 7ac1d1078b261e56e1f006059a05fd8bc9c69eba /include | |
parent | 5f183b59afee06a7fb239eee29d18e3153eeacfa (diff) | |
download | linux-3.10-9606dbb80d44a82b73357f0623e63513547c0599.tar.gz linux-3.10-9606dbb80d44a82b73357f0623e63513547c0599.tar.bz2 linux-3.10-9606dbb80d44a82b73357f0623e63513547c0599.zip |
cpufreq:LAB: Introduce new cpufreq LAB(Legaccy Application Boost) governor
This patch introduces new cpufreq governor named 'LAB'.
LAB governor will use scheduler, per-CPU information to determine how many
CPUs are in busy now. As a result the number of idle CPUs is calculated
for current load (digital low pass filtering is used to provide more stable
results). It will determine next frequency.
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Conflicts:
drivers/cpufreq/cpufreq_governor.c
Resolved-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpufreq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 4cab0cb1826..9791c329c3e 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -404,6 +404,9 @@ extern struct cpufreq_governor cpufreq_gov_ondemand; #elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE) extern struct cpufreq_governor cpufreq_gov_conservative; #define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_conservative) +#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_LAB) +extern struct cpufreq_governor cpufreq_gov_lab; +#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_lab) #endif |