From 1c3de8409a85ed35fc7ad253022b37f97cf27e35 Mon Sep 17 00:00:00 2001 From: Qais Yousef Date: Tue, 4 Feb 2025 12:44:28 +0000 Subject: [PATCH] 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 Change-Id: Ib121ef70f4890139c9964ebb41e6a5d8bd4e91c8 Signed-off-by: Qais Yousef --- conf/init.zuma.rc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/init.zuma.rc b/conf/init.zuma.rc index 8221d829..c8c5cbe6 100644 --- a/conf/init.zuma.rc +++ b/conf/init.zuma.rc @@ -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