Permalink
Browse files

cpufreq: governor additions

-Added pegasusq governor (thanks Samsung and gokhanmoral)
-Added lulzactive governor, but not built-in due to issues (thanks
Tegrak)
  • Loading branch information...
1 parent 53db7cf commit b3abb70a258cff56571bbecfe8540f69e61e91c1 @motley-git committed Jul 27, 2012
@@ -1,7 +1,3 @@
-#
-# Automatically generated file; DO NOT EDIT.
-# Linux/arm 3.1.10 Kernel Configuration
-#
CONFIG_ARM=y
CONFIG_HAVE_PWM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -514,6 +510,8 @@ CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+# CONFIG_CPU_FREQ_GOV_LULZACTIVE is not set
+CONFIG_CPU_FREQ_GOV_PEGASUSQ=y
#
# ARM CPU frequency scaling drivers
@@ -3345,4 +3343,4 @@ CONFIG_HAS_DMA=y
CONFIG_CPU_RMAP=y
CONFIG_NLATTR=y
# CONFIG_AVERAGE is not set
-# CONFIG_CORDIC is not set
+# CONFIG_CORDIC is not set
View
@@ -206,6 +206,20 @@ config CPU_FREQ_GOV_CONSERVATIVE
If in doubt, say N.
+config CPU_FREQ_GOV_LULZACTIVE
+ tristate "'lulzactive' cpufreq governor"
+ depends on CPU_FREQ
+ help
+ 'lulzactive' - a new interactive governor by Tegrak!
+
+ If in doubt, say N.
+
+config CPU_FREQ_GOV_PEGASUSQ
+ tristate "'pegasusq' cpufreq policy governor"
+ depends on CPU_FREQ
+ help
+ 'pegasusq' - governor by Samsung
+
menu "x86 CPU frequency scaling drivers"
depends on X86
source "drivers/cpufreq/Kconfig.x86"
View
@@ -10,6 +10,8 @@ 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_PEGASUSQ) += cpufreq_pegasusq.o
+obj-$(CONFIG_CPU_FREQ_GOV_LULZACTIVE) += cpufreq_lulzactive.o
# CPUfreq cross-arch helpers
obj-$(CONFIG_CPU_FREQ_TABLE) += freq_table.o
Oops, something went wrong.

3 comments on commit b3abb70

I haven't noticed any issues with lulzactive, what issues are you referring to?

Owner

I could get it up and running seemingly OK, but when I tried to tune it using the tegrak app it would crash just trying to access some of the tuneables. This is the setting (SCREEN_OFF_LOWEST_STEP) I was trying to play with and set I was not having much luck even accessing it from the app without the app crashing. The default was a hex value that didn't translate or make sense with the documentation. I may have just looked at it wrong since I didn't spend much time with it.

I eventually had it set manually like this, but I am not sure if it wants a hex value or not. Their website would suggest not...kind of confusing.

define SCREEN_OFF_LOWEST_STEP (7)

define DEFAULT_SCREEN_OFF_MIN_STEP (SCREEN_OFF_LOWEST_STEP)

Are you running OK with the tuneables set in your git? If so, can you use the app to tune OK? Looks like you grabbed it from siyah just like me :-)

Thanks

Oh I see. I haven't tried the app tegrak, I looked and there's quite a few different versions of it on the market. I assume it's the free version? I actually grabed it from my msm7x30 kernel which already had it. Can't remember where I got it from before that. Was just browsing around on github looking at various kernels and came across it.

Please sign in to comment.