sdm710-common: rootdir: Report max frequency to miHoYo games
* Reference: 016179b5c5
Signed-off-by: alanndz <alanndz@qmail.id>
Signed-off-by: Sageofd6path <mail2anirban95@gmail.com>
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: alternoegraha <noegrahachan@gmail.com>
This commit is contained in:
parent
fda7743839
commit
07f15593bf
1 changed files with 4 additions and 1 deletions
|
@ -41,7 +41,6 @@ on early-init
|
|||
exec u:r:vendor_modprobe:s0 -- /vendor/bin/modprobe -a -d /vendor/lib/modules msm_11ad_proxy
|
||||
|
||||
on init
|
||||
|
||||
# Support legacy paths
|
||||
symlink /sdcard /mnt/sdcard
|
||||
symlink /sdcard /storage/sdcard0
|
||||
|
@ -66,6 +65,10 @@ on init
|
|||
write /sys/block/mmcblk0/queue/nr_requests 256
|
||||
write /sys/block/mmcblk0/queue/iostats 0
|
||||
|
||||
# report max frequency to unity tasks.
|
||||
write /proc/sys/kernel/sched_lib_name "com.miHoYo.,UnityMain,libunity.so"
|
||||
write /proc/sys/kernel/sched_lib_mask_force 255
|
||||
|
||||
on post-fs
|
||||
# Start services for bootanim
|
||||
start surfaceflinger
|
||||
|
|
Loading…
Reference in a new issue