From 02783d8551b13565492f8208e3ca1f47dbee9200 Mon Sep 17 00:00:00 2001 From: Rocky Hao Date: Fri, 1 Jul 2016 16:10:26 +0800 Subject: [PATCH] arm64: dtsi: rk3399: optimize ipa parameters Big cores' power consumption is as much as 8 times of little cores'. Eas tends to bring tasks to big cores to assure the performance, and this will make the temperature of soc out of control. To resolve this issue, we set the power request weight of both little cores and gpu is 10 times of big cores, when temperature control occurs. Meanwhile, we decrease passive polling interval to make temperature control more accurate. Change-Id: Ib01948c6a4f4383f03f1317b2397f07fbdc3487e Signed-off-by: Rocky Hao --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 019e3c5b8417..2461680b80b3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -721,9 +721,9 @@ thermal-zones { soc_thermal: soc-thermal { - polling-delay-passive = <100>; /* milliseconds */ + polling-delay-passive = <20>; /* milliseconds */ polling-delay = <1000>; /* milliseconds */ - sustainable-power = <2600>; /* milliwatts */ + sustainable-power = <1600>; /* milliwatts */ thermal-sensors = <&tsadc 0>; @@ -750,16 +750,19 @@ trip = <&target>; cooling-device = <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + contribution = <10240>; }; map1 { trip = <&target>; cooling-device = <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + contribution = <1024>; }; map2 { trip = <&target>; cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + contribution = <10240>; }; }; }; -- 2.34.1