DivestOS/Patches/LineageOS-14.1/android_kernel_common_msm8992/0006-Overclock.patch

33 lines
1.3 KiB
Diff
Raw Normal View History

2018-01-11 14:49:24 -05:00
From 813c7c2c64746a1960274b4d1d6277ca01350c67 Mon Sep 17 00:00:00 2001
From: Francisco Franco <franciscofranco.1990@gmail.com>
Date: Thu, 6 Jul 2017 13:02:58 +0000
Subject: [PATCH] bullhead: don't hotplug the perf cluster on BCL event, it
destroys performance and don't throttle so hard
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
---
arch/arm/boot/dts/qcom/msm8992.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/qcom/msm8992.dtsi b/arch/arm/boot/dts/qcom/msm8992.dtsi
index da44d9c5c61..9ecfb89ebbe 100644
--- a/arch/arm/boot/dts/qcom/msm8992.dtsi
+++ b/arch/arm/boot/dts/qcom/msm8992.dtsi
@@ -2754,13 +2754,13 @@
compatible = "qcom,bcl";
qcom,bcl-enable;
qcom,bcl-framework-interface;
- qcom,bcl-hotplug-list = <&CPU4 &CPU5>;
+ /delete-property/ qcom,bcl-hotplug-list;
+ /delete-property/ qcom,bcl-soc-hotplug-list;
qcom,bcl-freq-control-list = <&CPU4 &CPU5>;
- qcom,bcl-soc-hotplug-list = <&CPU4 &CPU5>;
qcom,ibat-monitor {
qcom,low-threshold-uamp = <3400000>;
qcom,high-threshold-uamp = <4200000>;
- qcom,mitigation-freq-khz = <768000>;
+ qcom,mitigation-freq-khz = <960000>;
qcom,vph-high-threshold-uv = <3500000>;
qcom,vph-low-threshold-uv = <3300000>;
qcom,soc-low-threshold = <10>;