Merge "init.qcom.post_boot: lock two cores online for 8974 pro and 8084"
This commit is contained in:
commit
e605e7c228
|
@ -296,6 +296,7 @@ case "$target" in
|
|||
echo 100000 > /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor
|
||||
echo 1497600 > /sys/module/cpu_boost/parameters/input_boost_freq
|
||||
echo 40 > /sys/module/cpu_boost/parameters/input_boost_ms
|
||||
setprop ro.qualcomm.perf.cores_online 2
|
||||
;;
|
||||
*)
|
||||
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||||
|
@ -491,6 +492,7 @@ case "$target" in
|
|||
echo 300000 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
|
||||
echo 300000 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
|
||||
echo 1 > /sys/module/msm_thermal/core_control/enabled
|
||||
setprop ro.qualcomm.perf.cores_online 2
|
||||
chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
|
||||
chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
|
||||
chown -h root.system /sys/devices/system/cpu/mfreq
|
||||
|
|
Loading…
Reference in New Issue