summaryrefslogtreecommitdiff
path: root/init.hardware.rc
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2020-03-23 13:39:03 -0700
committerWei Wang <wvw@google.com>2020-03-23 13:39:03 -0700
commit836d0f0abb0c1d3402fbf2efda3e6026f451a4a5 (patch)
tree8b0ec16e230eecd8e2b4866ccc36f44d703c2720 /init.hardware.rc
parentd881e7574661df521004cc84bb5df13e4b026619 (diff)
Start Power HAL early
Power HAL start "on boot" trigger and we start processing hints on boot_complete. The power start time and hint processing time different, the reasons are both boottime and also availability of governors. The notification of IPC is done by setting vendor.setup.power to 1. This has been always the case. However there is new dependency in surfaceflinger for Power HAL availability. To workaround the dependency for early bootanim: bootanim => surfaceflinger => power hal, we could start Power HAL earlier by moving from on boot to on late-fs here, as Pixel Power HAL doesn't need anything in data/ partition e.g. neither persist property nor configuration file. Bug: 152131148 Test: build Change-Id: I7987c582fff01d2036e7c9d9a5c6ba586db99d38
Diffstat (limited to 'init.hardware.rc')
-rw-r--r--init.hardware.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc
index 7313f382..216b2082 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -188,6 +188,7 @@ on late-fs
start devstart_sh
# Start services for bootanim
+ start vendor.power-hal-1-3
start surfaceflinger
start bootanim
start vendor.hwcomposer-2-2