sky: Switch hwcomposer to foreground CPU set

* Greatly affects the performance/latency of the display
   considering you have foreground set to 0-6 cores on <SM7350
   whilst being power efficient.

 * This shows an improvement on HWUI graph and even jankbench.

Change-Id: I6438375d844e1b1f38872fb53bdfadfb644fc722
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
Vishalcj17
2022-02-14 13:21:59 +09:00
committed by redducc
parent 458ff36a07
commit b91fe58e7f

View File

@@ -55,6 +55,16 @@ on property:vendor.post_boot.parsed=1
write /proc/irq/208/smp_affinity_list 1
write /proc/irq/253/smp_affinity_list 2
service vendor.qti.hardware.display.composer /vendor/bin/hw/vendor.qti.hardware.display.composer-service
override
class hal animation
user system
group graphics drmrpc
capabilities SYS_NICE
onrestart restart surfaceflinger
socket pps stream 0660 system system
writepid /dev/cpuset/foreground/tasks
on property:persist.sys.device_provisioned=1
setprop dalvik.vm.dex2oat-cpu-set 0,1,2,3,4,5,6
setprop dalvik.vm.dex2oat-threads 6