From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39CE831E82E for ; Sat, 8 Aug 2026 20:23:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786220635; cv=none; b=dVvbl3Yr7+d4tBIkylNVb69TuJpD5+tgbSiSiDyhV7o5IcYKuHPTiDQvhWM/ScBIE35Q/UFhssI/YPZF0cJvZoDSXm/wclrKexUZ27SftWa3Ps/3yu+CTQWum1PD3kSq6wB+5CJMH9GKw9rX67fZ0ZrhHJwoNkYqEStHs/wGMoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786220635; c=relaxed/simple; bh=SgipMJRfONn7KX5eH+p1p0ISAiTB9/l8rjMypc0i4uA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=igCh8KPcKS7v/m9kWm8nQPXijNa7U/HdhNFYET8+xXO5iSjuuUnWxzddqGDSRgZjktKODLOnyvVxaCQvGyEu6dIfIzTQz+AsxNW+Ir7/a8122uHn0sZ578eoyVDoqFXsbuLzuVIJIMDkwF07sSga5gC8CFY0sNL/lBFCbV3yoV8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=MTMN9XIB; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ArhJAdEz; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="MTMN9XIB"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ArhJAdEz" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 678JvQq7457599 for ; Sat, 8 Aug 2026 20:23:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= TkIUMGU2hl2GkeTmHQvIMOaKv+sTC+mIBj5UNEuGbwo=; b=MTMN9XIBu58E7OxB hJZ5p+ZWrKYN15QwdAmdVYkT/hYVE7E2y1+0FCbTK+iGj3xBjyEgChiSQYjsYxra YKATdodERT/bcMKlovTu2BX/ks/ni4QKsO9SOKf/BcuNs9dGb5v40NFDTQ/mkyUa eE9efPe/2Ons8NrjP+TBV2hjeF8dgU91P3a2SSGqCWXRGNAvgSTUts45LlXY92KE n+RUAHd7p4v3sZw385W+Z3X30gJBXxZRgsKCpkOEc9nFIQcq4t5VmO9CzZVRf/Iv Fhp8wQrfv2uscDH/5FM19N2+nfZ4dpONn6qUfUcAyFo8jSvhZ/1P61xpatVBSuHf UZUKpw== Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fwvu8hmen-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 08 Aug 2026 20:23:53 +0000 (GMT) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-cb6dd278512so464102a12.3 for ; Sat, 08 Aug 2026 13:23:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1786220632; x=1786825432; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TkIUMGU2hl2GkeTmHQvIMOaKv+sTC+mIBj5UNEuGbwo=; b=ArhJAdEzo8caeZlaD7PBKbQWKrtmzBCfavUqBrIsH5BE26v+G83qheYEyZd1anoOVO AQH+eJfrjdcrhMFvURIpObGOr0s5AjITwQ/BbnXxMvSTo3KQu9xEC29XiFAiRIaHW3SJ RN/H54vf0PEHMn6SiApjm3LG7+gV++NZdPqkxkK0vO+vPj7jC3JrMCdk9PfuRWHW3VqJ Ptn7Pk9OsFcEQghazf/AqiAfCGjgQFQZtEC8wYEQTMiNmSt/aUZ6/wMKr2l/kRy6Lf8z /sHCv6K0vTAkXGV82P6LYhBwzJGXn9B90i8Ct7eKaqrIYhPKDLpcOn3KsB+r60Q7GPir eQTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786220632; x=1786825432; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=TkIUMGU2hl2GkeTmHQvIMOaKv+sTC+mIBj5UNEuGbwo=; b=UD8UMQBdh8COZXhK70VkU689oVeg6C4AFygS3bBP1miAh9oyUmvH7lBFRR2EH+c+mT GoeXz1jNNP8wi3t/XrIBogam40QXrXvT/wpTON+ytu8OnYq2OzoKh7pOjbjwULEB/IhT soVSDXsUbfAokY8T+F7F6OnFf7J8BDl8YqmREf0K18854Xq46jRMM1LupSTa8CerLqqk YexhiUMyimyxONjoMXJLit/8IWevhmbdmnEChrnKrMJVzf4UhZugjTmi49daqxuzdRmu Z2gmLgdR4sx2sgQPdy5cS59dsw70pZIC6h3FNzUOGVKM6btQUPKGGLig8qrvt3u9RFtG Wj+g== X-Forwarded-Encrypted: i=1; AHgh+RqR8kTgf4or2EE2yuxwO6DFursPi/diR6lbJXOKOIP+hTMeP8KG6mIT6A3yKUYl5kqLEQYbAfNcT3Br@vger.kernel.org X-Gm-Message-State: AOJu0YztAT8lr/nSkKEHTK+oloktszXY/PVxuF/xwkFg1tM7pKJnpRtz 8yqMumVo7hxXoJx4LIwMBqFRQaq/ER5/SUFkvC8H2GJriD/OHFD1lqlh2lMqCcd3kTW7cQzyhHd MJIuUlQvq7VixAfpA+TcuCgwEkjWJmlBvyYaihR2xvJmcsmmCyU4O8RBqPzxO2TeF X-Gm-Gg: AR+sD12knBs5VBcwRtRhRS6louZ9lQXHudyCkiBZSD7JFtiPlz4837Tok2uI8/B5Xsh yjOJfKAjHn/nFDftbTWelSkqyVGV3KMj/vC6CeP5xiKlHiriZ/dctb7fUj6LnG+3K/O+YC+8KIe UWS8lhIF4G6D2YI39Wy4tbh74hrnoBvd1wSXhbH2u/kMl0L7xEQGxnXO5/nmPY+h7EtmDVyOus1 TjWY/j8Wqyy6DyXbBTvHMY0DiWSRU53QlQAWR5FgjfsKzlbn9oV27ZUa41+8yBaXmiwpPQmXSdt 8DfViE8vW7TXJidjvSGRgy7RNlHr+DBJC1Ej0xpxM/HYtsquBlExaCn0XS0XLDhVEkP5J6bEiT3 4nTtZBxro+s8Je21dlTG9ck+s X-Received: by 2002:a05:6a21:6daa:b0:3c4:3672:ba6 with SMTP id adf61e73a8af0-3cbadc15329mr20294302637.22.1786220631916; Sat, 08 Aug 2026 13:23:51 -0700 (PDT) X-Received: by 2002:a05:6a21:6daa:b0:3c4:3672:ba6 with SMTP id adf61e73a8af0-3cbadc15329mr20294244637.22.1786220631485; Sat, 08 Aug 2026 13:23:51 -0700 (PDT) Received: from hu-akhilpo-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-315be86e917sm26357417eec.5.2026.08.08.13.23.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Aug 2026 13:23:51 -0700 (PDT) From: Akhil P Oommen Date: Sun, 09 Aug 2026 01:53:11 +0530 Subject: [PATCH 4/6] arm64: dts: qcom: sm8750: Add GPU cooling Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20260809-pakala-gpu-v1-4-207ad1fac1c7@oss.qualcomm.com> References: <20260809-pakala-gpu-v1-0-207ad1fac1c7@oss.qualcomm.com> In-Reply-To: <20260809-pakala-gpu-v1-0-207ad1fac1c7@oss.qualcomm.com> To: Rob Clark , Sean Paul , Konrad Dybcio , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Jie Zhang , Akhil P Oommen , Gaurav Kohli X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1786220595; l=5104; i=akhilpo@oss.qualcomm.com; s=20240726; h=from:subject:message-id; bh=ofQkUSc5NcG+CZ9WpupzhlkIDMlUKVF08kmMsHHefpQ=; b=FAhfbxRny0gdKk74rvaZBrgOH7vQrV8K6SRdFTO43x9yOxJzV5D9Um5USeg8MueC5B3S8ooHM Vd9X4VVxmlkCurIrh++Nb8zwYLZwiTww9UTu6FvgnvpGDhsFjpMX7rV X-Developer-Key: i=akhilpo@oss.qualcomm.com; a=ed25519; pk=lmVtttSHmAUYFnJsQHX80IIRmYmXA4+CzpGcWOOsfKA= X-Proofpoint-GUID: ph5XydBnGUKQ4sLOOiprA10HmkFKXW1u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M9sYO3 ECpXqNrYOL8xVw/IYayG1kyHTCkbZNQ= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-08_07,2026-08-07_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 malwarescore=0 impostorscore=0 adultscore=0 bulkscore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608080176 From: Gaurav Kohli Unlike the CPU, the GPU does not throttle its speed automatically when it reaches high temperatures. Set up GPU cooling by throttling the GPU speed when reaching 105°C. Signed-off-by: Gaurav Kohli Signed-off-by: Akhil P Oommen --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 104 +++++++++++++++++++++++++++-------- 1 file changed, 80 insertions(+), 24 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi index 6ddc8d3fdada..1a960ff855d7 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -6946,10 +6946,10 @@ gpuss0-thermal { thermal-sensors = <&tsens2 1>; trips { - trip-point0 { - temperature = <120000>; + gpuss0_alert0: gpuss0-alert0 { + temperature = <105000>; hysteresis = <5000>; - type = "hot"; + type = "passive"; }; gpuss0-critical { @@ -6958,16 +6958,23 @@ gpuss0-critical { type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&gpuss0_alert0>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; gpuss1-thermal { thermal-sensors = <&tsens2 2>; trips { - trip-point0 { - temperature = <120000>; + gpuss1_alert0: gpuss1-alert0 { + temperature = <105000>; hysteresis = <5000>; - type = "hot"; + type = "passive"; }; gpuss1-critical { @@ -6976,16 +6983,23 @@ gpuss1-critical { type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&gpuss1_alert0>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; gpuss2-thermal { thermal-sensors = <&tsens2 3>; trips { - trip-point0 { - temperature = <120000>; + gpuss2_alert0: gpuss2-alert0 { + temperature = <105000>; hysteresis = <5000>; - type = "hot"; + type = "passive"; }; gpuss2-critical { @@ -6994,16 +7008,23 @@ gpuss2-critical { type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&gpuss2_alert0>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; gpuss3-thermal { thermal-sensors = <&tsens2 4>; trips { - trip-point0 { - temperature = <120000>; + gpuss3_alert0: gpuss3-alert0 { + temperature = <105000>; hysteresis = <5000>; - type = "hot"; + type = "passive"; }; gpuss3-critical { @@ -7012,16 +7033,23 @@ gpuss3-critical { type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&gpuss3_alert0>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; gpuss4-thermal { thermal-sensors = <&tsens2 5>; trips { - trip-point0 { - temperature = <120000>; + gpuss4_alert0: gpuss4-alert0 { + temperature = <105000>; hysteresis = <5000>; - type = "hot"; + type = "passive"; }; gpuss4-critical { @@ -7030,16 +7058,23 @@ gpuss4-critical { type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&gpuss4_alert0>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; gpuss5-thermal { thermal-sensors = <&tsens2 6>; trips { - trip-point0 { - temperature = <120000>; + gpuss5_alert0: gpuss5-alert0 { + temperature = <105000>; hysteresis = <5000>; - type = "hot"; + type = "passive"; }; gpuss5-critical { @@ -7048,16 +7083,23 @@ gpuss5-critical { type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&gpuss5_alert0>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; gpuss6-thermal { thermal-sensors = <&tsens2 7>; trips { - trip-point0 { - temperature = <120000>; + gpuss6_alert0: gpuss6-alert0 { + temperature = <105000>; hysteresis = <5000>; - type = "hot"; + type = "passive"; }; gpuss6-critical { @@ -7066,16 +7108,23 @@ gpuss6-critical { type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&gpuss6_alert0>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; gpuss7-thermal { thermal-sensors = <&tsens2 8>; trips { - trip-point0 { - temperature = <120000>; + gpuss7_alert0: gpuss7-alert0 { + temperature = <105000>; hysteresis = <5000>; - type = "hot"; + type = "passive"; }; gpuss7-critical { @@ -7084,6 +7133,13 @@ gpuss7-critical { type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&gpuss7_alert0>; + cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; modem0-thermal { -- 2.54.0