mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-04-29 02:27:21 +09:00
sm6250-common: rootdir: boost UFS during boot
Before: SystemServer_start : 4.963 0.14877 SystemUi_start : 6.4789 0.17614 system_server_ready : 6.8311 0.17777 After: SystemServer_start : 4.8848 0.13089 SystemUi_start : 6.2907 0.14558 system_server_ready : 6.6286 0.14705 Bug: 63644084 Test: 50 boot with packages/services/Car/tools/bootanalyze/bootanalyze.py Change-Id: Icebc7a2e5b223c4749adb6575c52a99ef6c5faa0
This commit is contained in:
parent
bf960d89fd
commit
6c07d0e241
@ -114,6 +114,9 @@ on enable-low-power
|
||||
# Turn on sleep modes
|
||||
write /sys/module/lpm_levels/parameters/sleep_disabled 0
|
||||
|
||||
# Enable UFS powersaving
|
||||
write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkgate_enable 1
|
||||
|
||||
# Enable idle state listener
|
||||
write /sys/class/drm/card0/device/idle_encoder_mask 1
|
||||
write /sys/class/drm/card0/device/idle_timeout_ms 100
|
||||
|
@ -44,7 +44,10 @@ on init
|
||||
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
|
||||
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
||||
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
|
||||
|
||||
|
||||
# Disable UFS powersaving
|
||||
write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkgate_enable 0
|
||||
|
||||
# Boot time cpuset and stune
|
||||
write /dev/cpuset/top-app/cpus 0-7
|
||||
write /dev/cpuset/foreground/cpus 0-7
|
||||
|
Loading…
x
Reference in New Issue
Block a user