summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Weffers <rcstar6696@gmail.com>2017-03-17 17:53:52 +0100
committerMax Weffers <rcstar6696@gmail.com>2017-03-27 14:08:26 +0200
commita101d620fed432c95ed147609f2d7f683900fbfa (patch)
treeb6d38e23c9c4452a604525812b458b52b38621bc
parent5b712aa1351752cf1564d071b50b645cdb9ca513 (diff)
Use Cpu governor settings from sodp for interactive
-rw-r--r--rootdir/init.qcom.power.rc21
1 files changed, 11 insertions, 10 deletions
diff --git a/rootdir/init.qcom.power.rc b/rootdir/init.qcom.power.rc
index f0b9e3f..0702206 100644
--- a/rootdir/init.qcom.power.rc
+++ b/rootdir/init.qcom.power.rc
@@ -34,20 +34,21 @@ on enable-low-power
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor "interactive"
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 "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 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
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 300000
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq 300000
+ write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay "20000 1400000:40000 1700000: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/timer_slack 20000
+ write /sys/class/kgsl/kgsl-3d0/devfreq/governor "msm-adreno-tz"
+ write /dev/cpuctl/cpu.notify_on_migrate 1
+
chown root system /sys/devices/system/cpu/cpu1/online
chown root system /sys/devices/system/cpu/cpu2/online
chown root system /sys/devices/system/cpu/cpu3/online