msm8916,8939,8936:start perfd
Start perfd for 8916,8939, 8936 For 8916,8936:define ro.min_freq_0 For 8939:define ro.min_freq_0 and ro.min_freq_4 Change-Id: I53e7afb6f29d9987c22e2c52d91cd25b614f9eeb
This commit is contained in:
parent
1bb9316f93
commit
bf29e53a9e
|
@ -785,9 +785,24 @@ esac
|
||||||
|
|
||||||
# Post-setup services
|
# Post-setup services
|
||||||
case "$target" in
|
case "$target" in
|
||||||
"msm8660" | "msm8960" | "msm8226" | "msm8610" | "mpq8092" | "msm8916")
|
"msm8660" | "msm8960" | "msm8226" | "msm8610" | "mpq8092" )
|
||||||
start mpdecision
|
start mpdecision
|
||||||
;;
|
;;
|
||||||
|
"msm8916")
|
||||||
|
if [ -f /sys/devices/soc0/soc_id ]; then
|
||||||
|
soc_id=`cat /sys/devices/soc0/soc_id`
|
||||||
|
else
|
||||||
|
soc_id=`cat /sys/devices/system/soc/soc0/id`
|
||||||
|
fi
|
||||||
|
if [ $soc_id = 239 ]; then
|
||||||
|
setprop ro.min_freq_0 800000
|
||||||
|
setprop ro.min_freq_4 499200
|
||||||
|
else
|
||||||
|
setprop ro.min_freq_0 800000
|
||||||
|
fi
|
||||||
|
#start perfd after setprop
|
||||||
|
start perfd # start perfd on 8916 and 8939
|
||||||
|
;;
|
||||||
"msm8974")
|
"msm8974")
|
||||||
start mpdecision
|
start mpdecision
|
||||||
echo 512 > /sys/block/mmcblk0/bdi/read_ahead_kb
|
echo 512 > /sys/block/mmcblk0/bdi/read_ahead_kb
|
||||||
|
@ -870,7 +885,7 @@ case "$target" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$target" in
|
case "$target" in
|
||||||
"msm8226" | "msm8974" | "msm8610" | "apq8084" | "mpq8092" | "msm8610")
|
"msm8226" | "msm8974" | "msm8610" | "apq8084" | "mpq8092" | "msm8610" | "msm8916" | "msm8994")
|
||||||
# Let kernel know our image version/variant/crm_version
|
# Let kernel know our image version/variant/crm_version
|
||||||
image_version="10:"
|
image_version="10:"
|
||||||
image_version+=`getprop ro.build.id`
|
image_version+=`getprop ro.build.id`
|
||||||
|
|
Loading…
Reference in New Issue