From f8f2751c7d00d6044f7f961183f40b1cb6bc3763 Mon Sep 17 00:00:00 2001 From: Vishalcj17 Date: Thu, 18 Jul 2024 12:56:42 +0530 Subject: [PATCH] sm6375-common: Switch hwcomposer to foreground CPU set * Greatly affects the performance/latency of the display considering you have foreground set to 0-6 cores on --- rootdir/etc/init/hw/init.qcom.rc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rootdir/etc/init/hw/init.qcom.rc b/rootdir/etc/init/hw/init.qcom.rc index 19276aa..d13a8ae 100644 --- a/rootdir/etc/init/hw/init.qcom.rc +++ b/rootdir/etc/init/hw/init.qcom.rc @@ -662,3 +662,13 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service ioprio rt 4 task_profiles ProcessCapacityHigh HighPerformance onrestart restart audioserver + +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