summaryrefslogtreecommitdiffstats
path: root/init.tuna.rc
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2012-04-10 16:54:21 -0700
committerTodd Poynor <toddpoynor@google.com>2012-04-11 15:32:33 -0700
commit095e19a54d217474e14fcdf769a0369ef3f4d30c (patch)
tree425963f19d2f2a3ea6e63dac9ed24fcf2bbd4f47 /init.tuna.rc
parent139959c4084a67e01692bcd4cf556cc91f57131e (diff)
downloaddevice_samsung_tuna-095e19a54d217474e14fcdf769a0369ef3f4d30c.zip
device_samsung_tuna-095e19a54d217474e14fcdf769a0369ef3f4d30c.tar.gz
device_samsung_tuna-095e19a54d217474e14fcdf769a0369ef3f4d30c.tar.bz2
tuna: Add Power HAL
* Add Power HAL for Tuna. * Update cpufreq interactive governor params: min_sample_time = 100ms to cover bursts of graphics load go_hispeed_load = 40% to handle graphics loads * Move screen off maximum frequency to generic cpufreq scaling_max_freq interface, set when turning screen on/off. * Move cpufreq init from init.rc to Power HAL. Change-Id: I12efd9b5fbfe89a487fac926b42ce1fe65980f7a
Diffstat (limited to 'init.tuna.rc')
-rwxr-xr-xinit.tuna.rc8
1 files changed, 0 insertions, 8 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 7447379..f0fdaca 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -43,14 +43,6 @@ on boot
chmod 0666 /dev/pvrsrvkm
setprop ro.crypto.keyfile.userdata /dev/block/platform/omap/omap_hsmmc.0/by-name/metadata
-# Lower maximum frequency when screen is off
- write /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq 700000
-
-# cpufreq interactive governor: timer 20ms, min sample 20ms, hispeed 700MHz
- write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 20000
- write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 20000
- write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 700000
-
# autosuspend root hubs immediatly after attached devices
write /sys/bus/usb/devices/usb1/power/autosuspend_delay_ms 0
write /sys/bus/usb/devices/usb2/power/autosuspend_delay_ms 0