From: Rocky Hao Date: Fri, 1 Jul 2016 08:10:26 +0000 (+0800) Subject: arm64: dtsi: rk3399: optimize ipa parameters X-Git-Tag: firefly_0821_release~2225 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=02783d8551b13565492f8208e3ca1f47dbee9200;p=firefly-linux-kernel-4.4.55.git 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 --- 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>; }; }; };