Re: [PATCH v2 2/3] ARM: dts: rockchip: Use the GPU to cool CPU thermal zone of veyron mickey
From: Doug Anderson
Date: Mon May 20 2019 - 19:28:53 EST
Hi,
On Mon, May 20, 2019 at 3:01 PM Matthias Kaehlcke <mka@xxxxxxxxxxxx> wrote:
>
> On rk3288 the CPU and GPU temperatures are correlated. Limit the GPU
> frequency on veyron mickey to 400 MHz for CPU temperatures >= 65ÂC
> and to 300 MHz for CPU temperatures >= 85ÂC.
>
> This matches the configuration of the downstream Chrome OS 3.14 kernel,
> the 'official' kernel for mickey.
>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
> ---
> Changes in v2:
> - added 'cpu_warm_limit_gpu' to throttle GPU for T.cpu >= 65ÂC
> - removed comment saying that GPU isn't throttled beyond 400 MHz
> based on CPU temperature
> - updated commit message
>
> Note: this patch depends on "ARM: dts: rockchip: Add #cooling-cells
> entry for rk3288 GPU" (https://lore.kernel.org/patchwork/patch/1075005/)
> ---
> arch/arm/boot/dts/rk3288-veyron-mickey.dts | 14 +++++++++++---
> 1 file changed, 11 insertions(+), 3 deletions(-)
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>