init.common.rc: disable bus-dcvs during boot
This CL will save 150ms towards system_server_ready and also reduces the
fluctuation.
- Enable powersaving in charger mode
- Enable bus-dcvs in boot_complete but not during boot
- Start perfd after init.power.sh completes
- Enable powerhint after perfd is started
Before CL:
SystemServer_start : 6.6129 0.1711
SystemUi_start : 9.9806 0.23816
system_server_ready : 10.672 0.26105
BootAnimStopRequest : 12.89 0.21894
BootAnimEnd : 12.937 0.2196
BootComplete : 13.111 0.20393
BootComplete_kernel : 13.118 0.20315
After CL:
SystemServer_start : 6.7019 0.20667
SystemUi_start : 9.8279 0.13745
system_server_ready : 10.521 0.13817
BootAnimStopRequest : 12.706 0.14502
BootAnimEnd : 12.746 0.14517
BootComplete : 12.93 0.16598
BootComplete_kernel : 12.938 0.16541
Bug: 63644084
Test: 10 boot with packages/services/Car/tools/bootanalyze/bootanalyze.py
Change-Id: Ifa855da6d603fd68e4f3c009a5257214f51696c0
7 files changed