init.zuma.rc: Keep down_rate_limit_us set high on late-init

It helps with boot time and will be reset by powerhint.json as soon as
we are fully booted.

Bug: 393704445
Flag: EXEMPT not supported for init.rc files
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Ib121ef70f4890139c9964ebb41e6a5d8bd4e91c8
Signed-off-by: Qais Yousef <qyousef@google.com>
This commit is contained in:
Qais Yousef 2025-02-04 12:44:28 +00:00
parent b15b4053f4
commit 1c3de8409a

View file

@ -283,6 +283,11 @@ on late-fs
# Mount RW partitions which need run fsck
mount_all --late
on late-init
write /sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/down_rate_limit_us 5000
write /sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/down_rate_limit_us 20000
write /sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/down_rate_limit_us 20000
on post-fs-data
# Modem temperature driver
chown radio system /sys/devices/platform/cp-tm1/cp_temp