summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJonghwa Lee <jonghwa3.lee@samsung.com>2013-11-08 16:20:45 +0900
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:42:12 +0900
commitefe498c321a074d8282dfa2011b32300d622607d (patch)
treeaafa56c2809d8581ae6c3cb87288e2b9917703d3 /include
parent05fef7bb93cbe5cef4b25fb6d9abc3c81a0c67a2 (diff)
downloadlinux-3.10-efe498c321a074d8282dfa2011b32300d622607d.tar.gz
linux-3.10-efe498c321a074d8282dfa2011b32300d622607d.tar.bz2
linux-3.10-efe498c321a074d8282dfa2011b32300d622607d.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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index dbf5744eb56..6b076e37a99 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -403,6 +403,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