From 00af5c0430b7f670e29224035edf99d7728cfd5c Mon Sep 17 00:00:00 2001 From: Vaisakh Murali Date: Tue, 7 Nov 2023 19:22:54 +0530 Subject: [PATCH] a32: rootdir: Enable EAS instead of HMP EAS is better on power and perf The node accepts 3 values 0: Unknown 1: EAS 2: HMP Change-Id: I3704d4fb0fb87f594bdd488b0bf7b3846aea925b Signed-off-by: Vaisakh Murali --- rootdir/etc/init.cgroup.rc | 2 +- rootdir/etc/init.mt6768.rc | 2 +- rootdir/etc/init.mt6769t.rc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rootdir/etc/init.cgroup.rc b/rootdir/etc/init.cgroup.rc index 65bc692..9ef9c12 100644 --- a/rootdir/etc/init.cgroup.rc +++ b/rootdir/etc/init.cgroup.rc @@ -50,7 +50,7 @@ on init on property:sys.boot_completed=1 - write /sys/devices/system/cpu/eas/enable 2 + write /sys/devices/system/cpu/eas/enable 1 write /proc/cpufreq/cpufreq_sched_disable 0 chown system system /dev/stune/foreground/schedtune.prefer_idle diff --git a/rootdir/etc/init.mt6768.rc b/rootdir/etc/init.mt6768.rc index 709113b..269e8b0 100644 --- a/rootdir/etc/init.mt6768.rc +++ b/rootdir/etc/init.mt6768.rc @@ -1483,7 +1483,7 @@ on property:sys.boot_completed=1 # start EAS+ on property:sys.boot_completed=1 - write /sys/devices/system/cpu/eas/enable 2 + write /sys/devices/system/cpu/eas/enable 1 write /proc/cpufreq/cpufreq_sched_disable 0 chown system system /dev/stune/foreground/schedtune.prefer_idle chown system system /dev/stune/top-app/schedtune.prefer_idle diff --git a/rootdir/etc/init.mt6769t.rc b/rootdir/etc/init.mt6769t.rc index eb283d0..d2dc9da 100644 --- a/rootdir/etc/init.mt6769t.rc +++ b/rootdir/etc/init.mt6769t.rc @@ -1483,7 +1483,7 @@ on property:sys.boot_completed=1 # start EAS+ on property:sys.boot_completed=1 - write /sys/devices/system/cpu/eas/enable 2 + write /sys/devices/system/cpu/eas/enable 1 write /proc/cpufreq/cpufreq_sched_disable 0 chown system system /dev/stune/foreground/schedtune.prefer_idle chown system system /dev/stune/top-app/schedtune.prefer_idle