Merge "init.qcom.post_boot: Disable C4 at HYP for 2.1"

This commit is contained in:
Linux Build Service Account 2016-02-21 21:43:09 -08:00 committed by Gerrit - the friendly Code Review server
commit 8cf6458c97
1 changed files with 5 additions and 0 deletions

View File

@ -1894,6 +1894,11 @@ case "$target" in
echo 0 > /sys/module/lpm_levels/system/pwr/pwr-l2-gdhs/idle_enabled
echo 0 > /sys/module/lpm_levels/system/perf/perf-l2-gdhs/idle_enabled
echo N > /sys/module/lpm_levels/parameters/sleep_disabled
# Disable DEF-FPC mode
echo N > /sys/module/lpm_levels/system/pwr/cpu0/fpc-def/idle_enabled
echo N > /sys/module/lpm_levels/system/pwr/cpu1/fpc-def/idle_enabled
echo N > /sys/module/lpm_levels/system/perf/cpu2/fpc-def/idle_enabled
echo N > /sys/module/lpm_levels/system/perf/cpu3/fpc-def/idle_enabled
elif [ "$soc_revision" == "3.0" ]; then
# Enable all LPMs by default
# This will enable C4, D4, D3, E4 and M3 LPMs