From a101d620fed432c95ed147609f2d7f683900fbfa Mon Sep 17 00:00:00 2001 From: Max Weffers Date: Fri, 17 Mar 2017 17:53:52 +0100 Subject: Use Cpu governor settings from sodp for interactive --- rootdir/init.qcom.power.rc | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'rootdir') 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 -- cgit v1.2.3