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 <mvaisakh@statixos.com>
This commit is contained in:
Vaisakh Murali 2023-11-07 19:22:54 +05:30 • committed by AndroidHQ254
commit 00af5c0430
No known key found for this signature in database
GPG key ID: 48008337615EE8A9
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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