summaryrefslogtreecommitdiffstats
path: root/power
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2013-01-16 15:05:12 -0800
committerTodd Poynor <toddpoynor@google.com>2013-01-16 16:30:50 -0800
commitede113bec6dcd0f90746125df13c10983b044506 (patch)
tree7c69b97cc4f4381aff75b0c737b83cae92e65ec3 /power
parent17e6bb70441d6d36c0a4a81545ec6783ec4750d6 (diff)
downloaddevice_samsung_tuna-ede113bec6dcd0f90746125df13c10983b044506.zip
device_samsung_tuna-ede113bec6dcd0f90746125df13c10983b044506.tar.gz
device_samsung_tuna-ede113bec6dcd0f90746125df13c10983b044506.tar.bz2
tuna: power HAL: interactive governor param updates
Change-Id: If2759f25bd9f503d82ee0287c1258fa4fad2ca82
Diffstat (limited to 'power')
-rw-r--r--power/power_tuna.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/power/power_tuna.c b/power/power_tuna.c
index 7d06093..8fbbace 100644
--- a/power/power_tuna.c
+++ b/power/power_tuna.c
@@ -57,19 +57,16 @@ static void sysfs_write(char *path, char *s)
static void tuna_power_init(struct power_module *module)
{
- /*
- * cpufreq interactive governor: timer 20ms, min sample 60ms,
- * hispeed 700MHz at load 50%.
- */
-
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/timer_rate",
"20000");
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/min_sample_time",
- "60000");
+ "40000");
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/hispeed_freq",
"700000");
+ sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/target_loads",
+ "90 920000:95 1200000:99");
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load",
- "50");
+ "99");
sysfs_write("/sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay",
"100000");
}