diff options
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/etc/init.qcom.power.rc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 7994a4b..3842ae6 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -31,6 +31,15 @@ on init # Drop write bit from cpu_max_freq so that libqti-perfd can't set it chmod 0444 /sys/module/msm_performance/parameters/cpu_max_freq + # stune parameters + write /dev/stune/foreground/schedtune.sched_boost_no_override 1 + write /dev/stune/top-app/schedtune.sched_boost_no_override 1 + write /dev/stune/schedtune.colocate 0 + write /dev/stune/background/schedtune.colocate 0 + write /dev/stune/system-background/schedtune.colocate 0 + write /dev/stune/foreground/schedtune.colocate 0 + write /dev/stune/top-app/schedtune.colocate 1 + on boot # Update foreground and background cpusets write /dev/cpuset/foreground/cpus 0-3 |