mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
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:
parent
9fd8bb7e48
commit
47781bffd2
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue