gts3l-common: rootdir/etc: Set default GPU power level to 6

For better battery on idle state. It will run at 133 MHz rather than
214 MHz before.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
This commit is contained in:
Deokgyu Yang 2022-02-22 17:45:02 +09:00
parent b4c4ebe9e3
commit 9da0c2be83

View file

@ -191,6 +191,9 @@ on property:sys.boot_completed=1
# Set I/O squeduler # Set I/O squeduler
setprop sys.io.scheduler "bfq" setprop sys.io.scheduler "bfq"
# Set idle GPU to 133 Mhz
write /sys/class/kgsl/kgsl-3d0/default_pwrlevel 6
# Update cpusets now that boot is complete and we want better load balancing # Update cpusets now that boot is complete and we want better load balancing
write /dev/cpuset/top-app/cpus 0-3 write /dev/cpuset/top-app/cpus 0-3
write /dev/cpuset/foreground/cpus 0-2 write /dev/cpuset/foreground/cpus 0-2