aboutsummaryrefslogtreecommitdiff
path: root/rootdir
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2020-01-12 15:02:22 +0100
committerDavide Garberi <dade.garberi@gmail.com>2020-01-25 15:07:22 +0100
commit908a79f21430f71581ce490e20e83bbcf2330f45 (patch)
tree1055a1d9769a802cf7cc48c2593b389b805d31b6 /rootdir
parent3b755d7376eaf6425eda3487f54d20e5704793a0 (diff)
msm8996-common: rootdir: Add stune parameters
Change-Id: Ibf362bd9146d02c2fe8a6f15508eb633ce96d656
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/etc/init.qcom.power.rc9
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