diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 63f2203..68a19e9 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -117,22 +117,8 @@ on enable-low-power # Set sync wakee policy tunable write /proc/sys/kernel/sched_prefer_sync_wakee_to_waker 1 - # Configure governor settings for little cluster - interactive - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load 1 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif 1 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay 19000 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load 90 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/timer_rate 20000 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/hispeed_freq 960000 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/io_is_busy 1 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/target_loads 80 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/min_sample_time 19000 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/max_freq_hysteresis 79000 - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 307200 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/ignore_hispeed_on_notif 0 - write /sys/devices/system/cpu/cpu0/cpufreq/interactive/enable_prediction 1 - - # Configure governor settings for little cluster - schedutil + # Configure governor settings for little cluster + write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "schedutil" write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us 500 write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us 20000 write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/iowait_boost_enable 1 @@ -140,22 +126,8 @@ on enable-low-power # Bring CPU2 online write /sys/devices/system/cpu/cpu2/online 1 - # Configure governor settings for big cluster - interactive - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/use_sched_load 1 - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/use_migration_notif 1 - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/above_hispeed_delay "19000 1400000:39000 1700000:39000 2100000:79000" - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/go_hispeed_load 90 - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/timer_rate 20000 - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/hispeed_freq 1248000 - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/io_is_busy 1 - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/target_loads "85 1500000:90 1800000:95 2100000:99" - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/min_sample_time 19000 - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/max_freq_hysteresis 39000 - write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 307200 - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/ignore_hispeed_on_notif 0 - write /sys/devices/system/cpu/cpu2/cpufreq/interactive/enable_prediction 1 - - # Configure governor settings for big cluster - schedutil + # Configure governor settings for big cluster + write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "schedutil" write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/up_rate_limit_us 500 write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/down_rate_limit_us 20000 write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/iowait_boost_enable 1 @@ -167,9 +139,6 @@ on enable-low-power write /dev/stune/top-app/schedtune.boost 10 write /dev/stune/top-app/schedtune.prefer_idle 1 - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "schedutil" - write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "schedutil" - # Re-enable thermal hotplug write /sys/module/msm_thermal/core_control/enabled 1