Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2947159ybp; Sun, 6 Oct 2019 01:12:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7mtrasd78dDwrHwu29scl3n/Z3orWQKj4Vn47hoMhOQgQQzOUjXtihJqg7axDR3c8hSDY X-Received: by 2002:a50:acc1:: with SMTP id x59mr23797840edc.278.1570349526016; Sun, 06 Oct 2019 01:12:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570349526; cv=none; d=google.com; s=arc-20160816; b=vmIp9x7Tgd6IJ9g5rnqXvtQrBV+w+TwUKSo8fNUCaSDwVThHpy5ImKYHcFiCGm/J4+ lQ+71qJI6ybpZBBKZse2f8dteMbyoAhSkcaUo+OxXzWnn0eSnQ7FT5/dlfA11XyRSjXe ea7KR0MlNya94zd1OA8OnHS/XwmX3l+NuXfL2kWfmYSFE/xWY8HWU3rI912aYDiyiNIE EVGwwlc0AnKy7Vxzafrh2UXDF800hzljWuKKkiZs6G//I23tK1wWBS8l2hLNLmB4ZtYr ePx6Tj7D5Ped2ntaDxPPwP/GyrMlUKYSOoPLIwZ1gFEpqyzrEZ8pfCQl+TIMDPTAiqrh TxTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dlrT7inXRlRg1HdNqonzHcUDAyiAQ6ngCNTN++QtChs=; b=kn8AKnfiyp7jAQIFrkbyRq8SA2WGXfGzloWH8s3TodviVNd3DTEeFHaVV0U0bsyegE p8ZkzQ6lT6dXB4zXJIS21aJKradhT86evuM+vRpWnKD3r4HgQf87Nd+fTss9KYvaWm8E oF2LkQYcdlqP6Hma885j44HyJnatRNbwe1qjFPII44UIayl53BGFP54ucSU9M+FdiltH /k8OZo0179uRlE2pl7FwgRmRr8xVP4NqCKcyQgK+8TTsF0I4vzTayMcT/Q9nFsPmFYvK SqXwa1YLMMnTTeHk5AsqmcgMMOpOYiD6tUb2Dn+ycYJ93wQMFj7k5uimZaI9Uu0R6okv gKvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="zDR/zSv/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c21si5414202ejs.390.2019.10.06.01.11.42; Sun, 06 Oct 2019 01:12:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="zDR/zSv/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726319AbfJFIHR (ORCPT + 99 others); Sun, 6 Oct 2019 04:07:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:41912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbfJFIHR (ORCPT ); Sun, 6 Oct 2019 04:07:17 -0400 Received: from dragon (li937-157.members.linode.com [45.56.119.157]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7AC5B2084D; Sun, 6 Oct 2019 08:06:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570349236; bh=2mYmcL2dg3bAvRrFA6Aywfj8TPXbjBQZQZ81zTLe+rA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zDR/zSv/WMVB4QUZ6FD/4WP2wLrUai/phhlsD/r282C6LRflGbq1p6YnEhTYTRpyY idChEquLgQ2wmccjNxJ3997rD4FAypI00QTA+FRq1Zw3v3W7I4lbo/10ZgW+Qfrp5F S3PzIyDmVZwugTG3SWsBRdmeZA87YZ/f0IO9AGUQ= Date: Sun, 6 Oct 2019 16:06:43 +0800 From: Shawn Guo To: Guido =?iso-8859-1?Q?G=FCnther?= Cc: "To : Lucas Stach" , Russell King , Christian Gmeiner , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Abel Vesa , Anson Huang , Carlo Caione , Andrey Smirnov , "Angus Ainslie (Purism)" , etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 1/2] dts: arm64: imx8mq: Enable gpu passive throttling Message-ID: <20191006080641.GX7150@dragon> References: <0ab2ee7de9c2e24f6de860ffcbcdfc25b72c2c61.1568255903.git.agx@sigxcpu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0ab2ee7de9c2e24f6de860ffcbcdfc25b72c2c61.1568255903.git.agx@sigxcpu.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 >