Message ID | 20240102-topic-gpu_cooling-v1-6-fda30c57e353@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-14414-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4447766dyb; Tue, 2 Jan 2024 05:37:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IGyDSpHjemniq0BuNLxBQmsTSct0YRZwt/VYxIgTLBouOdtfUn/WDiPF9m2QMxkBQ7xttwd X-Received: by 2002:a17:906:490b:b0:a26:8bd9:7a75 with SMTP id b11-20020a170906490b00b00a268bd97a75mr7311389ejq.117.1704202632918; Tue, 02 Jan 2024 05:37:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704202632; cv=none; d=google.com; s=arc-20160816; b=D55jLZtIIRE5iw6OzRvPaelRQpjZd4PTZUrf7XpkHJec46Z9KfxOuuWBxgeC/W6qU2 g3h1pP2D1505wFj/u1ILKsAlj+YyA6hwTT9pMZ6ImcW6JRNe8suDWpyWTobSoROsuvYt U0nnkORXig7cMc/kipJ1ArW21UUMJ4gY22rcFbaQXl5g7V05RjhdnMyTT+GX4ge6sB+U omZrKnI0vfRoUK/bPINxCYy7PZYsqoUUMD2ejJjNy4VasvU7vln45w0vWrOWyePGOXBN Fk2JDTUy7KcQxrsNgO0HAnFPsThz28SkqUc+3jMxMWdo+/98KOnBHpQbMjfoLsYo9BMI 0lAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=34J+ataehAS0kN0wmOzRLl75fKygJv6uiWJvejhyOeY=; fh=VYpjbPPqx+jvrs1/9qXlyTOIyHHHTMJ7h/2E0zaqoC0=; b=WmxsDEM2qWhJq5PV3zzSpmXFKPwF+2/uHQRIWV6vpEoytiXFsS3bM1kxkET06pD5wm jRVdUuY7VGGAsgywzxq2mL+GvP5UmyQXfGyfJiK7OaGNUKQFhP8k5EpNbtMx5JT7bKBR yGu6wUezxj/x5sVo2NlsMJ3fLhsOf/2kRimadKuV0vwaBIQ838CvRns6IwtAEQz9DmAs RRw+Iz/v2+wuENFqE8p5yNUpkGzZ2Ny1TwajHizAZwgBvTBFgc9TXSs1UJnOYcvtmBWo f0Yjo47rSEnNgjryOAs2IbrRdXRWdYIc6a1nlDTpGznYCLaZLR2ka4VPrZw/643YJkYu CFjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mM2ELidf; spf=pass (google.com: domain of linux-kernel+bounces-14414-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14414-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id wl2-20020a170907310200b00a27b97cdd3csi2659560ejb.181.2024.01.02.05.37.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 05:37:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14414-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mM2ELidf; spf=pass (google.com: domain of linux-kernel+bounces-14414-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14414-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 856071F20FCA for <ouuuleilei@gmail.com>; Tue, 2 Jan 2024 13:37:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 42E86156EE; Tue, 2 Jan 2024 13:34:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mM2ELidf" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 530E514F7C for <linux-kernel@vger.kernel.org>; Tue, 2 Jan 2024 13:34:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-50e68e93be1so8455615e87.0 for <linux-kernel@vger.kernel.org>; Tue, 02 Jan 2024 05:34:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704202466; x=1704807266; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=34J+ataehAS0kN0wmOzRLl75fKygJv6uiWJvejhyOeY=; b=mM2ELidfJLWDbefbOhxedBkg1X/iJgGgdnWq4ZA95w8W9aVfcaL8DwabDa9oVOeEri OPJXL4hOxktd80nInSAf1f85MRyVNTxVplWKYvpJkKVE2IXAp7bIUePwxiUEiUyNm0ZR crgvrmhtl/ACNkqXUjwSvGqSFByapMAnPWSeHcNvPXFMTUojCuOboEvq+ieNHCFdAhLw ixfE0BNYZgmv0EVP1n9YKwFbzjVtyzwhL3uKGgFKn7YSWtFA8PpTHCz8Dx8uMyp2qg35 2eM7rC7B0iFn1vlP4CKYMdglS7KQFvmAIlgYNG2tuSrbSSahohAWsvn0RJqlgSYjv45s 6J4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704202466; x=1704807266; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=34J+ataehAS0kN0wmOzRLl75fKygJv6uiWJvejhyOeY=; b=Bsoj7JB86Rs0oFwKMsKQ2w8VcoWDhhL3xheU72OlbYYREsMLjlOals2GtGWfynOQdh 43Fz9C/ii+feuAR7ZOzoLbgFyVbcL6jN38e46xhZsWZ/rkjLCJVdkISsVJUNWRCAx0At mnxdp0KN2pbmGCtX1KYZatvgy39FWyPDOAHsGPpwasZfEoGHEEJP1YA4FToAxVNCEq5t 14fqdA4nyaDkgRi1gTWfEm/Rq5Gis3PSwvZXc5pKg07lONw8Rr07l3VGUOVMIjTYt6XC Dz6OjBNIhlnf8ElfpOiZEaDNpW7RKLYAwxpU8gItZQG56AqRHEjwELcpCR6+bN+3HAiv sOsA== X-Gm-Message-State: AOJu0YxSDTe4d3xKEvtoo7oEtUrleiCun8vAHyPDj6LKDgufFTsExY1l xGYeKWBIYLGOwU+jfg+JUxWeZ7RRo+fyzEmkwUX3nGCXEMU= X-Received: by 2002:a05:6512:6cd:b0:50e:7f56:bfaf with SMTP id u13-20020a05651206cd00b0050e7f56bfafmr5489178lff.129.1704202466366; Tue, 02 Jan 2024 05:34:26 -0800 (PST) Received: from [10.167.154.1] (178235179036.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.36]) by smtp.gmail.com with ESMTPSA id u23-20020a170906109700b00a26af5717e9sm10950923eju.42.2024.01.02.05.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 05:34:26 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Tue, 02 Jan 2024 14:34:10 +0100 Subject: [PATCH 06/12] arm64: dts: qcom: sm6115: Mark GPU @ 125C critical Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240102-topic-gpu_cooling-v1-6-fda30c57e353@linaro.org> References: <20240102-topic-gpu_cooling-v1-0-fda30c57e353@linaro.org> In-Reply-To: <20240102-topic-gpu_cooling-v1-0-fda30c57e353@linaro.org> To: Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1704202458; l=716; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=tdRYL6qoS01TCJIXkVVITyvW8ksCa31Ur6gaqfY9lys=; b=435Q94/MvJOGykViraXp5aKhBpHNva5jUKmeYVW4xChvmxipKqCj72crKrLG/+SbxQrwv+Ryx 2qx/6EJr8i8CFqNZtnV/nTHVCFoYNxVegFRghav3sFpW54/+9xoJOaD X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786985980039840727 X-GMAIL-MSGID: 1786985980039840727 |
Series |
Hook up GPU cooling on most qcom arm64 platforms
|
|
Commit Message
Konrad Dybcio
Jan. 2, 2024, 1:34 p.m. UTC
If the GPU ever reaches this temperature, the "critical" signal shuold
definitely be propagated. Fix the wrong type.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Tue, 2 Jan 2024 at 15:36, Konrad Dybcio <konrad.dybcio@linaro.org> wrote: > > If the GPU ever reaches this temperature, the "critical" signal shuold > definitely be propagated. Fix the wrong type. I hope it will be shut down before reaching 125°C Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi > index a8c819d53104..be51cbaeeb7e 100644 > --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi > @@ -3313,7 +3313,7 @@ gpu_alert0: trip-point0 { > trip-point1 { > temperature = <125000>; > hysteresis = <1000>; > - type = "passive"; > + type = "critical"; > }; > }; > }; > > -- > 2.43.0 > >
diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index a8c819d53104..be51cbaeeb7e 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -3313,7 +3313,7 @@ gpu_alert0: trip-point0 { trip-point1 { temperature = <125000>; hysteresis = <1000>; - type = "passive"; + type = "critical"; }; }; };