mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36:26 -08:00
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 <dev.xyzuniverse@gmail.com> Signed-off-by: fjrXTR <fajarslebew31@gmail.com> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
34271eea2d
commit
e18d9c8275
|
@ -1130,6 +1130,6 @@ on property:sys.boot_completed=1
|
||||||
write /dev/cpuctl/rt/cpu.shares 20480
|
write /dev/cpuctl/rt/cpu.shares 20480
|
||||||
write /dev/cpuctl/top-app/cpu.shares 20480
|
write /dev/cpuctl/top-app/cpu.shares 20480
|
||||||
|
|
||||||
# Report max frequency to unity tasks
|
# Report max frequency to unity and miHoYo (HoYoverse) games tasks
|
||||||
write /proc/sys/kernel/sched_lib_name "UnityMain,libunity.so"
|
write /proc/sys/kernel/sched_lib_name "com.miHoYo.,com.HoYoverse.,UnityMain,libunity.so"
|
||||||
write /proc/sys/kernel/sched_lib_mask_force 255
|
write /proc/sys/kernel/sched_lib_mask_force 255
|
||||||
|
|
Loading…
Reference in a new issue