Merge "init: Add async for suspend/resume" into udc-d1-dev am: 586a4470df
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/23455467 Change-Id: Ia2b5d8c329dfd58ff96a52a06757c49a5c9c7dff Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
3e1a1d6221
1 changed files with 7 additions and 0 deletions
|
@ -817,6 +817,13 @@ on property:sys.boot_completed=1
|
||||||
write /sys/devices/system/cpu/cpufreq/policy8/sched_pixel/pmu_limit_enable 1
|
write /sys/devices/system/cpu/cpufreq/policy8/sched_pixel/pmu_limit_enable 1
|
||||||
write /proc/vendor_sched/pmu_poll_enable 0
|
write /proc/vendor_sched/pmu_poll_enable 0
|
||||||
|
|
||||||
|
# Make devices on the critical path for suspend/resume asynchronous
|
||||||
|
write /sys/devices/platform/fixedregulator@0/regulator/regulator.2/power/async "enabled"
|
||||||
|
write /sys/devices/platform/fixedregulator@0/power/async "enabled"
|
||||||
|
write /sys/devices/platform/26040000.clock-controller/power/async "enabled"
|
||||||
|
write /sys/devices/platform/10840000.pinctrl/power/async "enabled"
|
||||||
|
write /sys/devices/platform/13060000.pinctrl/power/async "enabled"
|
||||||
|
|
||||||
# Setup cpu.shares to throttle background groups (bg ~ 5% sysbg ~ 5% dex2oat ~2.5%)
|
# Setup cpu.shares to throttle background groups (bg ~ 5% sysbg ~ 5% dex2oat ~2.5%)
|
||||||
write /dev/cpuctl/background/cpu.shares 1024
|
write /dev/cpuctl/background/cpu.shares 1024
|
||||||
write /dev/cpuctl/system-background/cpu.shares 1024
|
write /dev/cpuctl/system-background/cpu.shares 1024
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue