Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1685932

Re: [PATCH 4/4] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs

From Brian Norris <briannorris@chromium.org>
Newsgroups linux.kernel
Subject Re: [PATCH 4/4] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs
Date 2017-07-12 19:40 +0200
Message-ID <u2tMe-2LF-31@gated-at.bofh.it> (permalink)
References <u2jtw-4CF-5@gated-at.bofh.it> <u2jtx-4CF-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Caesar,

On Wed, Jul 12, 2017 at 02:29:30PM +0800, Caesar Wang wrote:
> As RK3399 had used the Power allocator thermal governor by default,
> enabled this to manage thermals by dynamically allocating and limiting
> power to devices.
> 
> Also, this patch supported the dynamic-power-coefficient/sustainable_power
> and GPU's power model for needed parameters with thermal IPA.
> 
> Signed-off-by: Caesar Wang <wxt@rock-chips.com>
> 
> ---
> 
>  arch/arm64/boot/dts/rockchip/rk3399.dtsi | 62 +++++++++++++++-----------------
>  1 file changed, 29 insertions(+), 33 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> index 8c6438b..139f58c 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
> @@ -147,7 +147,7 @@
>  			enable-method = "psci";
>  			#cooling-cells = <2>; /* min followed by max */
>  			clocks = <&cru ARMCLKB>;
> -			dynamic-power-coefficient = <100>;
> +			dynamic-power-coefficient = <436>;
>  		};
>  
>  		cpu_b1: cpu@101 {
> @@ -156,7 +156,7 @@
>  			reg = <0x0 0x101>;
>  			enable-method = "psci";
>  			clocks = <&cru ARMCLKB>;
> -			dynamic-power-coefficient = <100>;
> +			dynamic-power-coefficient = <436>;

There are 6 of these properties (1 for each core now; not just 1 for
each cluster), and you're only changing 2 of them.

BTW, are these values determined from measurement this time? And heavily
tested? The previous values were suspiciously round, but they'd been
heavily tested so I didn't mind :)

>  		};
>  	};
>  

...

Brian

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] arm64: dts: rockchip: support mail and IPA thermal for rk3399 Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
  [PATCH 2/4] arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
    Re: [PATCH 2/4] arm64: dts: rockchip: add ARM Mali GPU node for RK3399 SoCs Heiko Stuebner <heiko@sntech.de> - 2017-07-12 09:20 +0200
      Re: [PATCH 2/4] arm64: dts: rockchip: add ARM Mali GPU node for  RK3399 SoCs Caesar Wang <caesar.upstream@gmail.com> - 2017-07-12 11:20 +0200
  [PATCH 1/4] dt-bindings: gpu: add the RK3399 mali for rockchip specifics Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
  [PATCH 3/4] arm64: dts: rockchip: enable the GPU for RK3399-GRU Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
  [PATCH 4/4] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs Caesar Wang <wxt@rock-chips.com> - 2017-07-12 08:40 +0200
    Re: [PATCH 4/4] arm64: dts: rockchip: update the thermal zones for  RK3399 SoCs Brian Norris <briannorris@chromium.org> - 2017-07-12 19:40 +0200
    Re: [PATCH 4/4] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs Heiko Stuebner <heiko@sntech.de> - 2017-07-12 20:50 +0200

csiph-web