From 81bd2a8ab8938aa2f6cadc31555b8a6e82a15fdd Mon Sep 17 00:00:00 2001 From: Davide Garberi Date: Sat, 6 Oct 2018 12:18:31 +0200 Subject: msm8996-common: rootdir: Update for Pie display and perf stack Change-Id: I1de1749a4e13f6870a9bb4348a5a9f18f0528461 Signed-off-by: Davide Garberi --- rootdir/etc/init.qcom.power.rc | 6 ------ rootdir/etc/init.qcom.rc | 25 +++++++++++++++++++++---- 2 files changed, 21 insertions(+), 10 deletions(-) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 6125674..818bf4e 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -192,9 +192,3 @@ service charger /sbin/chargeonlymode class charger group system graphics seclabel u:r:charger:s0 - -service energy-awareness /vendor/bin/energy-awareness - class main - user root - group system - oneshot diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 6b7ac74..f19416a 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -64,8 +64,8 @@ on late-fs start servicemanager start surfaceflinger start bootanim - start configstore-hal-1-0 - start gralloc-2-0 + start vendor.configstore-hal + start vendor.gralloc-2-0 # Mount RW partitions which need run fsck mount_all /vendor/etc/fstab.qcom --late @@ -586,11 +586,28 @@ on property:vendor.ims.DATA_DAEMON_STATUS=1 start ims_rtp_daemon start vendor.imsrcsservice -service ppd /vendor/bin/mm-pp-dpps - class hal +service vendor.ppd /vendor/bin/mm-pp-dpps + class late_start user system group system graphics socket pps stream 0660 system system + disabled + writepid /dev/cpuset/system-background/tasks + +on property:init.svc.vendor.hwcomposer-2-1=stopped + stop vendor.ppd + +on property:init.svc.vendor.hwcomposer-2-1=running + start vendor.ppd + +on property:init.svc.vendor.hwcomposer-2-1=restarting + stop vendor.ppd + +service vendor.energy-awareness /vendor/bin/energy-awareness + class main + user root + group system + oneshot writepid /dev/cpuset/system-background/tasks on property:init.svc.surfaceflinger=restarting -- cgit v1.2.3