Commit f8bd4673 authored by AlaskaLinuxUser's avatar AlaskaLinuxUser

Added darkness gov.

parent 027c8ee0
# BLU LIFE ONE X2 Custom kernel
It is my goal to modify this kernel. Here are the modifications thus far:
+ Added Darkness Gov.
......@@ -80,6 +80,13 @@ config CPU_FREQ_DEFAULT_GOV_POWERSAVE
the frequency statically to the lowest frequency supported by
the CPU.
config CPU_FREQ_DEFAULT_GOV_DARKNESS
bool "darkness"
depends on EXPERT
select CPU_FREQ_GOV_DARKNESS
help
Use the CPUFreq governor 'darkness' as default. WJH
config CPU_FREQ_DEFAULT_GOV_USERSPACE
bool "userspace"
select CPU_FREQ_GOV_USERSPACE
......@@ -220,6 +227,14 @@ config CPU_FREQ_GOV_CONSERVATIVE
If in doubt, say N.
config CPU_FREQ_GOV_DARKNESS
tristate "'darkness' governor"
help
The cpufreq governor darkness. WJH
To compile this driver as a module, choose M here: the
module will be called cpufreq_darkness.
config CPUFREQ_DT
tristate "Generic DT based cpufreq driver"
depends on HAVE_CLK && OF
......
......@@ -11,6 +11,7 @@ obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o
obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o
obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o
obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o
obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_darkness.o
obj-$(CONFIG_CPU_FREQ_GOV_INTERACTIVE) += cpufreq_interactive.o
obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o
obj-$(CONFIG_CPU_BOOST) += cpu-boost.o
......
This diff is collapsed.
......@@ -504,6 +504,9 @@ extern struct cpufreq_governor cpufreq_gov_conservative;
#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE)
extern struct cpufreq_governor cpufreq_gov_interactive;
#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_interactive)
#elif defined(CONFIG_CPU_FREQ_DEFAULT_GOV_DARKNESS)
extern struct cpufreq_governor cpufreq_gov_darkness;
#define CPUFREQ_DEFAULT_GOVERNOR (&cpufreq_gov_darkness)
#endif
/*********************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment