mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-28 05:11:51 +00:00
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: I87d0b0ea32c86898f6bc19958d321ed177c2a739
This commit is contained in:
@@ -159,6 +159,7 @@ on late-fs
|
||||
# Start devices by sysfs trigger
|
||||
start vendor.devstart_sh
|
||||
# Start services for bootanim
|
||||
start vendor.power-hal-1-3
|
||||
start surfaceflinger
|
||||
start bootanim
|
||||
start vendor.hwcomposer-2-1
|
||||
|
||||
Reference in New Issue
Block a user