summaryrefslogtreecommitdiff
path: root/rootdir/init.qcom.power.rc
diff options
context:
space:
mode:
authorSteven Lay <slay16@student.monash.edu>2017-02-09 22:19:53 +1100
committernailyk-fr <nailyk_git@nailyk.fr>2017-02-21 20:17:44 +0100
commit86050b3d6fef2cc86118d2026b93cea549acde18 (patch)
treeea35ad72ce9ed4fc6f46eb9d3248321a80dc39f7 /rootdir/init.qcom.power.rc
parentf603e0a41a501fde8bad9ba20547a743719fcaf4 (diff)
shinano-common: power: update cpufreq tunings from stock ROMs
* Took from stock sony ROMs
Diffstat (limited to 'rootdir/init.qcom.power.rc')
-rw-r--r--rootdir/init.qcom.power.rc19
1 files changed, 4 insertions, 15 deletions
diff --git a/rootdir/init.qcom.power.rc b/rootdir/init.qcom.power.rc
index 828ee48..6eba8bf 100644
--- a/rootdir/init.qcom.power.rc
+++ b/rootdir/init.qcom.power.rc
@@ -35,18 +35,14 @@ on enable-low-power
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "interactive"
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor "interactive"
- write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay "20000 1400000:40000 1700000:20000"
+ write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay "10000 1800000:20000"
write /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load 90
write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 1190400
write /sys/devices/system/cpu/cpufreq/interactive/io_is_busy 1
write /sys/devices/system/cpu/cpufreq/interactive/target_loads "85 1500000:90 1800000:70"
- write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 40000
- write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 30000
- write /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor 100000
- write /sys/devices/system/cpu/cpufreq/interactive/sync_freq 1036800
- write /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_load 50
- write /sys/devices/system/cpu/cpufreq/interactive/up_threshold_any_cpu_freq 1190400
- write /sys/devices/system/cpu/cpufreq/interactive/timer_slack 20000
+ write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 10000
+ write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 10000
+ write /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor 20000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 300000
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 300000
@@ -61,16 +57,9 @@ on enable-low-power
write /sys/module/msm_thermal/core_control/enabled 1
- write /sys/module/cpu_boost/parameters/boost_ms 20
- write /sys/module/cpu_boost/parameters/sync_threshold 1728000
- write /sys/module/cpu_boost/parameters/input_boost_freq 1497600
- write /sys/module/cpu_boost/parameters/input_boost_ms 40
-
write /sys/class/devfreq/qcom,cpubw.45/governor "cpubw_hwmon"
write /sys/class/kgsl/kgsl-3d0/devfreq/governor msm-adreno-tz
- write /dev/cpuctl/cpu.notify_on_migrate 1
-
on charger
write /sys/module/lpm_levels/enable_low_power/l2 2
write /sys/module/msm_pm/modes/cpu0/power_collapse/suspend_enabled 1