aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.power.rc
diff options
context:
space:
mode:
authorSultanxda <sultanxda@gmail.com>2017-04-09 23:49:45 -0700
committerdd3boh <dade.garberi@gmail.com>2017-08-21 08:51:25 +0200
commit6a07d974970055e21873d3f7a5f83f13eda61d4b (patch)
tree033531bd07aeced9cc32d837910f1583579d8688 /rootdir/etc/init.qcom.power.rc
parentb6d300b7955c29ca21e0140f24822998dd11d623 (diff)
z2_plus: Remove msm-thermal, thermal-engine, and bcl
We will use msm-thermal-simple instead.
Diffstat (limited to 'rootdir/etc/init.qcom.power.rc')
-rwxr-xr-xrootdir/etc/init.qcom.power.rc14
1 files changed, 0 insertions, 14 deletions
diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc
index 1875ad8..5de3906 100755
--- a/rootdir/etc/init.qcom.power.rc
+++ b/rootdir/etc/init.qcom.power.rc
@@ -19,13 +19,6 @@ on boot
write /proc/sys/kernel/sched_boost 1
on enable-low-power
- # Disable thermal bcl hotplug to switch governor
- write /sys/module/msm_thermal/core_control/enabled 0
- write /sys/devices/soc/soc:qcom,bcl/mode "disable"
- write /sys/devices/soc/soc:qcom,bcl/hotplug_mask 0
- write /sys/devices/soc/soc:qcom,bcl/hotplug_soc_mask 0
- write /sys/devices/soc/soc:qcom,bcl/mode "enable"
-
# Enable Adaptive LMK
write /sys/module/lowmemorykiller/parameters/enable_adaptive_lmk 1
@@ -66,13 +59,6 @@ on enable-low-power
write /sys/devices/system/cpu/cpu2/cpufreq/interactive/ignore_hispeed_on_notif 1
write /sys/devices/system/cpu/cpu2/cpufreq/interactive/enable_prediction 1
- # Re-enable thermal and BCL hotplug
- write /sys/module/msm_thermal/core_control/enabled 1
- write /sys/devices/soc/soc:qcom,bcl/mode "disable"
- write /sys/devices/soc/soc:qcom,bcl/hotplug_mask 12
- write /sys/devices/soc/soc:qcom,bcl/hotplug_soc_mask 8
- write /sys/devices/soc/soc:qcom,bcl/mode "enable"
-
# Input boost configuration
write /sys/module/cpu_boost/parameters/input_boost_freq "0:1324800 2:1324800"
write /sys/module/cpu_boost/parameters/input_boost_ms 0