LG8n: power: Set up and down rate limits for schedutil & sugov_ext

Use the same rate limits as wahoo for now.

[Woomy]: Set the rate limits for sugov_ext when it's loaded

Bug: 73168288
Test: boot and check nodes
Change-Id: I311d33580e68dd6cfec2a49f2738b6d06509f419
Signed-off-by: Connor O'Brien <connoro@google.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Connor O'Brien 2024-07-18 18:23:50 +08:00 committed by Shirayuki39
parent 9fd8bb7e48
commit 47781bffd2

View file

@ -17,9 +17,14 @@ on property:init.svc.vendor.charger=running
write /sys/devices/system/cpu/cpu5/online 0 write /sys/devices/system/cpu/cpu5/online 0
write /sys/devices/system/cpu/cpu7/online 0 write /sys/devices/system/cpu/cpu7/online 0
on post-fs-data on property:vendor.all.modules.ready=1
write /sys/devices/system/cpu/cpufreq/policy0/scaling_governor sugov_ext write /sys/devices/system/cpu/cpufreq/policy0/scaling_governor "sugov_ext"
write /sys/devices/system/cpu/cpufreq/policy6/scaling_governor sugov_ext write /sys/devices/system/cpu/cpufreq/policy0/sugov_ext/up_rate_limit_us 500
write /sys/devices/system/cpu/cpufreq/policy0/sugov_ext/down_rate_limit_us 20000
write /sys/devices/system/cpu/cpufreq/policy6/scaling_governor "sugov_ext"
write /sys/devices/system/cpu/cpufreq/policy6/sugov_ext/up_rate_limit_us 500
write /sys/devices/system/cpu/cpufreq/policy6/sugov_ext/down_rate_limit_us 20000
on init on init
write /sys/devices/platform/soc/11270000.ufshci/clkgate_enable 0 write /sys/devices/platform/soc/11270000.ufshci/clkgate_enable 0