sdm660: init.qcom.post_boot: enable LPMs for bengal
Enable low power modes and core_ctl for the bengal. Change-Id: Ie6784fdacec66020c19fa67d1c3a095af9745f21
This commit is contained in:
parent
b79bb407b1
commit
5626ca5359
1 changed files with 3 additions and 4 deletions
|
@ -3720,7 +3720,7 @@ case "$target" in
|
||||||
|
|
||||||
# Core control is temporarily disabled till bring up
|
# Core control is temporarily disabled till bring up
|
||||||
echo 0 > /sys/devices/system/cpu/cpu0/core_ctl/enable
|
echo 0 > /sys/devices/system/cpu/cpu0/core_ctl/enable
|
||||||
echo 4 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
|
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
|
||||||
# Core control parameters on big
|
# Core control parameters on big
|
||||||
echo 40 > /sys/devices/system/cpu/cpu4/core_ctl/busy_down_thres
|
echo 40 > /sys/devices/system/cpu/cpu4/core_ctl/busy_down_thres
|
||||||
echo 60 > /sys/devices/system/cpu/cpu4/core_ctl/busy_up_thres
|
echo 60 > /sys/devices/system/cpu/cpu4/core_ctl/busy_up_thres
|
||||||
|
@ -3826,9 +3826,8 @@ case "$target" in
|
||||||
# Turn off scheduler boost at the end
|
# Turn off scheduler boost at the end
|
||||||
echo 0 > /proc/sys/kernel/sched_boost
|
echo 0 > /proc/sys/kernel/sched_boost
|
||||||
|
|
||||||
# Turn off sleep modes till bring up
|
# Turn on sleep modes
|
||||||
# sleep modes to be enabled after bring up
|
echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled
|
||||||
echo 1 > /sys/module/lpm_levels/parameters/sleep_disabled
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue