From 9606dbb80d44a82b73357f0623e63513547c0599 Mon Sep 17 00:00:00 2001 From: Jonghwa Lee Date: Fri, 8 Nov 2013 16:20:45 +0900 Subject: 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 Conflicts: drivers/cpufreq/cpufreq_governor.c Resolved-by: MyungJoo Ham --- include/linux/cpufreq.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit v1.2.3