Merge "init.qcom.post_boot: Enable scheduler inputs to governor"
This commit is contained in:
commit
7e375c6e9f
|
@ -721,7 +721,7 @@ case "$target" in
|
|||
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||
# configure governor settings for little cluster
|
||||
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||||
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load
|
||||
echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_sched_load
|
||||
echo 0 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/use_migration_notif
|
||||
echo "20000 750000:40000 800000:20000" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/above_hispeed_delay
|
||||
echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_hispeed_load
|
||||
|
@ -733,7 +733,7 @@ case "$target" in
|
|||
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
|
||||
# configure governor settings for big cluster
|
||||
echo "interactive" > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
|
||||
echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load
|
||||
echo 1 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_sched_load
|
||||
echo 0 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/use_migration_notif
|
||||
echo "20000 750000:40000 800000:20000" > /sys/devices/system/cpu/cpu4/cpufreq/interactive/above_hispeed_delay
|
||||
echo 99 > /sys/devices/system/cpu/cpu4/cpufreq/interactive/go_hispeed_load
|
||||
|
@ -747,6 +747,8 @@ case "$target" in
|
|||
echo -n disable > /sys/devices/soc.*/qcom,bcl.*/mode
|
||||
echo $bcl_hotplug_mask > /sys/devices/soc.*/qcom,bcl.*/hotplug_mask
|
||||
echo -n enable > /sys/devices/soc.*/qcom,bcl.*/mode
|
||||
# Enable task migration fixups in the scheduler
|
||||
echo 1 > /proc/sys/kernel/sched_migration_fixup
|
||||
for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor
|
||||
do
|
||||
echo "bw_hwmon" > $devfreq_gov
|
||||
|
|
Loading…
Reference in New Issue