mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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
|
# set ondemand up_threshold
|
||||||
if [ -e /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then
|
if [ -e /sys/devices/system/cpu/cpufreq/ondemand/up_threshold ]; then
|
||||||
echo 50 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
|
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
|
fi
|
||||||
|
|
||||||
# run platform_init script if exists
|
# run platform_init script if exists
|
||||||
|
Loading…
x
Reference in New Issue
Block a user