From 460d2268b0bd73478e4ccdaf36f968a2457b58e2 Mon Sep 17 00:00:00 2001 From: Deokgyu Yang Date: Mon, 21 Feb 2022 20:30:32 +0900 Subject: [PATCH] gts3l-common: rootdir/etc: Set properties for blu_schedutil Set up_rate_limit_us to 250 and down_rate_limit_us 10000 unlike schedutil that uses 500 and 20000 repectively. The new values are from lge_msm8996-common. Signed-off-by: Deokgyu Yang --- rootdir/etc/init.qcom.power.rc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index a580587..3b13499 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -119,18 +119,18 @@ on enable-low-power # Configure governor settings for little cluster write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "blu_schedutil" - write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us 20000 - write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/iowait_boost_enable 1 + write /sys/devices/system/cpu/cpu0/cpufreq/blu_schedutil/up_rate_limit_us 250 + write /sys/devices/system/cpu/cpu0/cpufreq/blu_schedutil/down_rate_limit_us 10000 + write /sys/devices/system/cpu/cpu0/cpufreq/blu_schedutil/iowait_boost_enable 1 # Bring CPU2 online write /sys/devices/system/cpu/cpu2/online 1 # Configure governor settings for big cluster write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "blu_schedutil" - write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/up_rate_limit_us 500 - write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/down_rate_limit_us 20000 - write /sys/devices/system/cpu/cpu2/cpufreq/schedutil/iowait_boost_enable 1 + write /sys/devices/system/cpu/cpu2/cpufreq/blu_schedutil/up_rate_limit_us 250 + write /sys/devices/system/cpu/cpu2/cpufreq/blu_schedutil/down_rate_limit_us 10000 + write /sys/devices/system/cpu/cpu2/cpufreq/blu_schedutil/iowait_boost_enable 1 # Set boottime stune value write /dev/stune/schedtune.prefer_idle 1