[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191006080641.GX7150@dragon>
Date: Sun, 6 Oct 2019 16:06:43 +0800
From: Shawn Guo <shawnguo@...nel.org>
To: Guido Günther <agx@...xcpu.org>
Cc: "To : Lucas Stach" <l.stach@...gutronix.de>,
Russell King <linux+etnaviv@...linux.org.uk>,
Christian Gmeiner <christian.gmeiner@...il.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Abel Vesa <abel.vesa@....com>,
Anson Huang <Anson.Huang@....com>,
Carlo Caione <ccaione@...libre.com>,
Andrey Smirnov <andrew.smirnov@...il.com>,
"Angus Ainslie (Purism)" <angus@...ea.ca>,
etnaviv@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 1/2] dts: arm64: imx8mq: Enable gpu passive throttling
On Wed, Sep 11, 2019 at 07:40:35PM -0700, Guido Günther wrote:
> Temperature and hysteresis were picked after the CPU.
>
> Signed-off-by: Guido Günther <agx@...xcpu.org>
The patch prefix should be 'arm64: dts: ...'
I fixed it up and applied the patch.
Shawn
> ---
> arch/arm64/boot/dts/freescale/imx8mq.dtsi | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> index 4fdd60f2c51e..5023a0e5068d 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> @@ -235,12 +235,26 @@
> thermal-sensors = <&tmu 1>;
>
> trips {
> + gpu_alert: gpu-alert {
> + temperature = <80000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> gpu-crit {
> temperature = <90000>;
> hysteresis = <2000>;
> type = "critical";
> };
> };
> +
> + cooling-maps {
> + map0 {
> + trip = <&gpu_alert>;
> + cooling-device =
> + <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
> + };
> + };
> };
>
> vpu-thermal {
> @@ -912,6 +926,7 @@
> <&clk IMX8MQ_CLK_GPU_AXI>,
> <&clk IMX8MQ_CLK_GPU_AHB>;
> clock-names = "core", "shader", "bus", "reg";
> + #cooling-cells = <2>;
> assigned-clocks = <&clk IMX8MQ_CLK_GPU_CORE_SRC>,
> <&clk IMX8MQ_CLK_GPU_SHADER_SRC>,
> <&clk IMX8MQ_CLK_GPU_AXI>,
> --
> 2.23.0.rc1
>
Powered by blists - more mailing lists