From bb9b7f4df28cc7077fe454229e99d49b6d878f26 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 Signed-off-by: Jianqun Xu --- 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 0bcba8c23e98..dc933fc17f61 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -737,9 +737,9 @@ thermal_zones: thermal-zones { soc_thermal: soc-thermal { - polling-delay-passive = <100>; + polling-delay-passive = <20>; polling-delay = <1000>; - sustainable-power = <2600>; /* milliwatts */ + sustainable-power = <1600>; /* milliwatts */ thermal-sensors = <&tsadc 0>; @@ -766,16 +766,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>; }; }; };