Skip to content

Commit

Permalink
lulzactiveq by roberto
Browse files Browse the repository at this point in the history
  • Loading branch information
Gokhan Moral committed Aug 28, 2012
1 parent 9762d61 commit 3e375f9
Show file tree
Hide file tree
Showing 4 changed files with 1,932 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-exynos/stand-hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ static int standhotplug_cpufreq_policy_notifier_call(struct notifier_block *this
case CPUFREQ_ADJUST:
if (
(!strnicmp(policy->governor->name, "pegasusq", CPUFREQ_NAME_LEN)) ||
(!strnicmp(policy->governor->name, "lulzactiveq", CPUFREQ_NAME_LEN)) ||
(!strnicmp(policy->governor->name, "hotplug", CPUFREQ_NAME_LEN)) ||
(!strnicmp(policy->governor->name, "assplug", CPUFREQ_NAME_LEN))
)
Expand Down
11 changes: 11 additions & 0 deletions drivers/cpufreq/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ config CPU_FREQ_DEFAULT_GOV_PEGASUSQ
bool "pegasusq"
select CPU_FREQ_GOV_PEGASUSQ

config CPU_FREQ_DEFAULT_GOV_LULZACTIVEQ
bool "lulzactiveq"
select CPU_FREQ_GOV_LULZACTIVEQ


endchoice

config CPU_FREQ_GOV_PERFORMANCE
Expand Down Expand Up @@ -299,6 +304,12 @@ config CPU_FREQ_GOV_ADAPTIVE
config CPU_FREQ_GOV_PEGASUSQ
tristate "'pegasusq' cpufreq policy governor"

config CPU_FREQ_GOV_LULZACTIVEQ
tristate "'lulzactiveq' cpufreq governor"
depends on CPU_FREQ
help
'lulzactiveq' - hotplug mechanism added in lulzactive

config CPU_FREQ_GOV_LULZACTIVE
tristate "'lulzactive' cpufreq governor"
depends on CPU_FREQ
Expand Down
1 change: 1 addition & 0 deletions drivers/cpufreq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ obj-$(CONFIG_CPU_FREQ_GOV_INTERACTIVE) += cpufreq_interactive.o
obj-$(CONFIG_CPU_FREQ_GOV_ADAPTIVE) += cpufreq_adaptive.o
obj-$(CONFIG_CPU_FREQ_GOV_PEGASUSQ) += cpufreq_pegasusq.o
obj-$(CONFIG_CPU_FREQ_GOV_LULZACTIVE) += cpufreq_lulzactive.o
obj-$(CONFIG_CPU_FREQ_GOV_LULZACTIVEQ) += cpufreq_lulzactiveq.o
obj-$(CONFIG_CPU_FREQ_GOV_SMARTASS2) += cpufreq_smartass2.o
obj-$(CONFIG_CPU_FREQ_GOV_HOTPLUG) += cpufreq_hotplug.o

Expand Down
Loading

0 comments on commit 3e375f9

Please sign in to comment.