arm64: dtsi: rk3399: optimize ipa parameters
authorRocky Hao <rocky.hao@rock-chips.com>
Fri, 1 Jul 2016 08:10:26 +0000 (16:10 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Wed, 6 Jul 2016 03:39:13 +0000 (11:39 +0800)
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 <rocky.hao@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index 019e3c5b84170aeff4ad6da08fb18a0ebd5ae4c5..2461680b80b38c262b10c6b27e4b34a73cfa7135 100644 (file)
 
        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>;
 
                                        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>;
                                };
                        };
                };