mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge pull request #3446 from kszaq/ondemand_multicluster
init: set ondemand up_threshold for multi-cluster CPUs
This commit is contained in:
commit
d389eae9a7
@ -933,6 +933,10 @@ echo '1 4 1 7' > /proc/sys/kernel/printk
|
||||
# set ondemand up_threshold
|
||||
if [ -e /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then
|
||||
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
|
||||
else
|
||||
for f in $(ls /sys/devices/system/cpu/cpufreq/policy*/ondemand/up_threshold 2>/dev/null) ; do
|
||||
echo 50 > $f
|
||||
done
|
||||
fi
|
||||
|
||||
# run platform_init script if exists
|
||||
|
Loading…
x
Reference in New Issue
Block a user