aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShashi Shekar Shankar <ssbang@codeaurora.org>2020-09-11 13:24:17 +0530
committerMarcos Tolcachir <marcostolcachir@gmail.com>2022-01-05 04:59:15 +0100
commite542a51f80ee05dffcbb541155c045b7a57b24de (patch)
tree1e3ee255ec234833a023041db24b0f545b960df4
parentb54ba1d364a2297eef430e55e74c5b1de3e6450f (diff)
addison: post_boot: Set polling_interval after sample_ms
Set polling_interval after sample_ms. Change-Id: I13c023fc7a401d76a1954c432b7891b05edc27f4 CRs-Fixed: 2774848
-rw-r--r--rootdir/bin/init.qcom.post_boot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh
index 8f6a545..5d8658f 100644
--- a/rootdir/bin/init.qcom.post_boot.sh
+++ b/rootdir/bin/init.qcom.post_boot.sh
@@ -659,7 +659,6 @@ case "$target" in
for cpubw in /sys/class/devfreq/*qcom,cpubw*
do
echo "bw_hwmon" > $cpubw/governor
- echo 50 > $cpubw/polling_interval
echo "1611 3221 5859 6445 7104" > $cpubw/bw_hwmon/mbps_zones
echo 4 > $cpubw/bw_hwmon/sample_ms
echo 34 > $cpubw/bw_hwmon/io_percent
@@ -667,6 +666,7 @@ case "$target" in
echo 80 > $cpubw/bw_hwmon/down_thres
echo 0 > $cpubw/bw_hwmon/hyst_length
echo 0 > $cpubw/bw_hwmon/guard_band_mbps
+ echo 50 > $cpubw/polling_interval
echo 250 > $cpubw/bw_hwmon/up_scale
echo 1600 > $cpubw/bw_hwmon/idle_mbps
done