Skip to content

Commit

Permalink
ElementalX governor version 2
Browse files Browse the repository at this point in the history
Signed-off-by: tarun93 <[email protected]>
  • Loading branch information
tarunkapadia93 authored and kondors1995 committed Jul 18, 2016
1 parent d5cee44 commit 450b22e
Show file tree
Hide file tree
Showing 8 changed files with 664 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/arm/configs/g620s_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,8 @@ CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_ZZMOOVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_YANKACTIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_BIOSHOCK is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_HYPER is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_ELEMENTALX is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_DARKNESS is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
Expand All @@ -591,7 +592,8 @@ CONFIG_CPU_FREQ_GOV_IMPULSE=y
CONFIG_CPU_FREQ_GOV_ZZMOOVE=y
CONFIG_CPU_FREQ_GOV_YANKACTIVE=y
CONFIG_CPU_FREQ_GOV_BIOSHOCK=y
CONFIG_CPU_FREQ_GOV_HYPER=y
CONFIG_CPU_FREQ_GOV_ELEMENTALX=y
CONFIG_CPU_FREQ_GOV_DARKNESS=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
CONFIG_CPU_BOOST=y

Expand Down
20 changes: 20 additions & 0 deletions drivers/cpufreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ config CPU_FREQ_DEFAULT_GOV_ONDEMAND
governor. If unsure have a look at the help section of the
driver. Fallback governor will be the performance governor.

config CPU_FREQ_DEFAULT_GOV_ELEMENTALX
bool "elementalx"
select CPU_FREQ_GOV_ELEMENTALX
select CPU_FREQ_GOV_PERFORMANCE
help
Use the CPUFreq governor 'elementalx' as default.

config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
bool "conservative"
select CPU_FREQ_GOV_CONSERVATIVE
Expand Down Expand Up @@ -216,6 +223,19 @@ config CPU_FREQ_GOV_ONDEMAND

If in doubt, say N.

config CPU_FREQ_GOV_ELEMENTALX
tristate "'elementalx' cpufreq policy governor"
select CPU_FREQ_TABLE
help
'elementalx' - This driver adds a dynamic cpufreq policy governor.

To compile this driver as a module, choose M here: the
module will be called cpufreq_elementalx.

For details, take a look at linux/Documentation/cpu-freq.

If in doubt, say N.

config CPU_FREQ_GOV_INTERACTIVE
tristate "'interactive' cpufreq policy governor"
help
Expand Down
1 change: 1 addition & 0 deletions drivers/cpufreq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ 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_INTERACTIVE) += cpufreq_interactive.o
obj-$(CONFIG_CPU_FREQ_GOV_ELEMENTALX) += cpufreq_elementalx.o
obj-$(CONFIG_CPU_FREQ_GOV_IMPULSE) += cpufreq_impulse.o
obj-$(CONFIG_CPU_FREQ_GOV_ZZMOOVE) += cpufreq_zzmoove.o
obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o
Expand Down
Loading

0 comments on commit 450b22e

Please sign in to comment.