init.qcom.post_boot: Setting minimum freq for 8x10/8x26 to 787200Hz

Changing the min_freq to max nominal will make apps enter IPC
more often and hence saving power for active use cases.

Change-Id: I8eec5a67dcf5016b9053788281ed870db9beeb81
This commit is contained in:
Sravan Kumar Ambapuram 2014-04-14 16:12:11 +05:30 committed by Gerrit - the friendly Code Review server
parent 9cae19cb08
commit 2bb61fabcb
1 changed files with 2 additions and 2 deletions

View File

@ -365,7 +365,7 @@ case "$target" in
echo 787200 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq
echo 300000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq
echo 80 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load
echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 787200 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
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/cpu1/online
@ -407,7 +407,7 @@ case "$target" in
echo 787200 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq
echo 300000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq
echo 80 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load
echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 787200 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
setprop ro.qualcomm.perf.min_freq 7
echo 1 > /sys/kernel/mm/ksm/deferred_timer
chown -h system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq