mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
init.hardware.rc: disable retention
Retention is leading to increased rendering time, and has not been measured to provide any power benefit. This Cl is to remove that. Bug: 37287554 Test: muskie boot and check retention disabled after boot Change-Id: Id6162070220b792958dce91758660c0d2aed0195
This commit is contained in:
@@ -124,6 +124,21 @@ on init
|
||||
mkdir /dev/socket/pdx/system/vr/pose 0775 system system
|
||||
mkdir /dev/socket/pdx/system/vr/sensors 0775 system system
|
||||
|
||||
# Disable retention
|
||||
write /sys/module/lpm_levels/system/pwr/cpu0/ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/pwr/cpu1/ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/pwr/cpu2/ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/pwr/cpu3/ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/perf/cpu4/ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/perf/cpu5/ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/perf/cpu6/ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/perf/cpu7/ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/pwr/pwr-l2-dynret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/pwr/pwr-l2-ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/perf/perf-l2-dynret/idle_enabled N
|
||||
write /sys/module/lpm_levels/system/perf/perf-l2-ret/idle_enabled N
|
||||
write /sys/module/lpm_levels/parameters/sleep_disabled N
|
||||
|
||||
on fs
|
||||
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
||||
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
|
||||
|
||||
Reference in New Issue
Block a user