From e18d9c827550c12f894d3cde64047fd158e6640d Mon Sep 17 00:00:00 2001 From: alanndz Date: Sun, 19 Sep 2021 10:25:42 +0000 Subject: [PATCH] LG8n: rootdir: power: Report max frequency to miHoYo games [xyzuniverse] Add HoYoVerse too as the it's the same (Honkai Star Rail game) Change-Id: I07b171edab40e49bd734c19d8f1729cc31f2f47c Signed-off-by: xyzuniverse Signed-off-by: fjrXTR Signed-off-by: Shirayuki39 --- rootdir/etc/init/hw/init.mt6789.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init/hw/init.mt6789.rc b/rootdir/etc/init/hw/init.mt6789.rc index 7a02207..5cc2d90 100644 --- a/rootdir/etc/init/hw/init.mt6789.rc +++ b/rootdir/etc/init/hw/init.mt6789.rc @@ -1130,6 +1130,6 @@ on property:sys.boot_completed=1 write /dev/cpuctl/rt/cpu.shares 20480 write /dev/cpuctl/top-app/cpu.shares 20480 -# Report max frequency to unity tasks - write /proc/sys/kernel/sched_lib_name "UnityMain,libunity.so" +# Report max frequency to unity and miHoYo (HoYoverse) games tasks + write /proc/sys/kernel/sched_lib_name "com.miHoYo.,com.HoYoverse.,UnityMain,libunity.so" write /proc/sys/kernel/sched_lib_mask_force 255