From e6263d1565c767fcd84e8382c7167619cb260bb4 Mon Sep 17 00:00:00 2001 From: Rohit Gupta Date: Wed, 27 May 2015 13:52:31 -0700 Subject: [PATCH] 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 --- rootdir/etc/init.qcom.post_boot.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index 9c0a02f6..46670d6a 100644 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -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