init.qcom.post_boot: Set bw_hwmon governor for cpubw device on 8996

Enable CPU to DDR bus scaling using hw counters by setting cpubw
devfreq governor to bw_hwmon for MSM8996.

Change-Id: I77e105e6794dd905de3bb525651fef5010421df1
This commit is contained in:
Rohit Gupta 2015-05-27 13:52:31 -07:00
parent 82b08d5396
commit e6263d1565
1 changed files with 4 additions and 0 deletions

View File

@ -1189,6 +1189,10 @@ case "$target" in
echo 90 > /proc/sys/kernel/sched_downmigrate
echo 400000 > /proc/sys/kernel/sched_freq_inc_notify
echo 400000 > /proc/sys/kernel/sched_freq_dec_notify
for devfreq_gov in /sys/class/devfreq/qcom,cpubw*/governor
do
echo "bw_hwmon" > $devfreq_gov
done
;;
esac