sdm660-common: rootdir: Do not pointlessly configure cpu boost

CAF's CPU boost has been disabled in kernel. So, this is useless.

Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Tashfin Shakeer Rhythm 2023-05-23 00:56:02 +06:00 committed by pix106
parent 1ae8e9ac22
commit c81cf71b38

View file

@ -722,15 +722,6 @@ function sdm660_sched_schedutil_dcvs() {
echo 1 > /proc/sys/kernel/sched_walt_rotate_big_tasks echo 1 > /proc/sys/kernel/sched_walt_rotate_big_tasks
#if the kernel version >=4.19,set input_boost_freq accordingly
if [ $KernelVersionA -ge 4 ] && [ $KernelVersionB -ge 19 ]; then
echo "0:1401600" > /sys/devices/system/cpu/cpu_boost/input_boost_freq
echo 40 > /sys/devices/system/cpu/cpu_boost/input_boost_ms
else
echo "0:1401600" > /sys/module/cpu_boost/parameters/input_boost_freq
echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms
fi
# sched_load_boost as -6 is equivalent to target load as 85. It is per cpu tunable. # sched_load_boost as -6 is equivalent to target load as 85. It is per cpu tunable.
echo -6 > /sys/devices/system/cpu/cpu0/sched_load_boost echo -6 > /sys/devices/system/cpu/cpu0/sched_load_boost
echo -6 > /sys/devices/system/cpu/cpu1/sched_load_boost echo -6 > /sys/devices/system/cpu/cpu1/sched_load_boost