diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2017-01-12 21:30:05 -0500 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2017-01-13 10:35:55 -0500 |
commit | 7fcef92db8ba7fe667df6513f6ff7f9913816749 (patch) | |
tree | 953807b56217da15e28f7cf0598d6e81bdbec093 | |
parent | fc6634ac0e5380aeb1063275a2e9a583d41b2306 (diff) |
arm64: dts: mt8173: Fix cpu_thermal cooling-maps contributions
According to [0], the contribution field for each cooling-device express
their relative power efficiency. Higher weights express higher power
efficiency. Weighting is relative such that if each cooling device has a
weight of 1 they are considered equal. This is particularly useful in
heterogeneous systems where two cooling devices may perform the same kind
of compute, but with different efficiency.
[0] Documentation/thermal/power_allocator.txt
According to Mediatek IC designer, the power efficiency ratio between the
LITTLE core cluster (cooling-device cpu0) and big core cluster
(cooling-device cpu1) is around 3:1 (3072:1024).
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt8173.dtsi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 3bb20e0a81f2..7fdb856ddfeb 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi | |||
@@ -182,12 +182,12 @@ | |||
182 | map@0 { | 182 | map@0 { |
183 | trip = <&target>; | 183 | trip = <&target>; |
184 | cooling-device = <&cpu0 0 0>; | 184 | cooling-device = <&cpu0 0 0>; |
185 | contribution = <1024>; | 185 | contribution = <3072>; |
186 | }; | 186 | }; |
187 | map@1 { | 187 | map@1 { |
188 | trip = <&target>; | 188 | trip = <&target>; |
189 | cooling-device = <&cpu2 0 0>; | 189 | cooling-device = <&cpu2 0 0>; |
190 | contribution = <2048>; | 190 | contribution = <1024>; |
191 | }; | 191 | }; |
192 | }; | 192 | }; |
193 | }; | 193 | }; |