Merge "init.qcom.post_boot: Configure new bus bw_hwmon parameters for MSM8996"

This commit is contained in:
Linux Build Service Account 2015-08-01 00:53:57 -07:00 committed by Gerrit - the friendly Code Review server
commit c4f2982136
1 changed files with 14 additions and 2 deletions

View File

@ -1000,9 +1000,21 @@ case "$target" in
echo 400000 > /proc/sys/kernel/sched_freq_dec_notify echo 400000 > /proc/sys/kernel/sched_freq_dec_notify
echo 3 > /proc/sys/kernel/sched_spill_nr_run echo 3 > /proc/sys/kernel/sched_spill_nr_run
# Enable bus-dcvs # Enable bus-dcvs
for devfreq_gov in /sys/class/devfreq/*qcom,cpubw*/governor for cpubw in /sys/class/devfreq/*qcom,cpubw*
do do
echo "bw_hwmon" > $devfreq_gov echo "bw_hwmon" > $cpubw/governor
echo 50 > $cpubw/polling_interval
echo 1525 > $cpubw/min_freq
echo "1525 5195 11863 13763" > $cpubw/bw_hwmon/mbps_zones
echo 2 > $cpubw/bw_hwmon/sample_ms
echo 34 > $cpubw/bw_hwmon/io_percent
echo 20 > $cpubw/bw_hwmon/hist_memory
echo 10 > $cpubw/bw_hwmon/hyst_length
echo 0 > $cpubw/bw_hwmon/low_power_ceil_mbps
echo 34 > $cpubw/bw_hwmon/low_power_io_percent
echo 20 > $cpubw/bw_hwmon/low_power_delay
echo 0 > $cpubw/bw_hwmon/guard_band_mbps
echo 250 > $cpubw/bw_hwmon/up_scale
done done
for devfreq_gov in /sys/class/devfreq/*qcom,mincpubw*/governor for devfreq_gov in /sys/class/devfreq/*qcom,mincpubw*/governor