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 3111D3164B4 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=1786220636; cv=none; b=OJDjP5JLaEsw8ccS87uMv9tuoWvRzomRSFCtX5DepGKSTP6O7QUPgMmZg32QDzQhWO3miT1MAATx5GzkFcACyCRk2+9Zp9t29TL8kb0+oIgohSrMH6tEP99OislVmlpTF1cRzZpDLcWzku+x5tRyMeFYI30saGQlRpIvIv+a3BE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786220636; c=relaxed/simple; bh=SgipMJRfONn7KX5eH+p1p0ISAiTB9/l8rjMypc0i4uA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gA0v7EwDgd/tS7h+qS8Q6HHm5bAQ7lToB/u29MbjD3bgM8HdUVIG2nChMkgiYGROFiO3Bt8Nn8dkl3WKg19J0GIdPqh5Sg9QZjCaVD7Akn34jqy3tgk+O18RHtTWTtyreyfJUMYtd9XTRYsjzQ0bNSUAEaLNxktjebw0+uj34Hc= 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 (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 678JwdCX1039371 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-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fwv1y9qf6-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-f198.google.com with SMTP id 41be03b00d2f7-cb5bdd8450dso472116a12.0 for ; Sat, 08 Aug 2026 13:23:52 -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=TbmSdHVFkTu0OYfUVOz8S8XAcsBURFrPIPeo0jGH4oc7QUM3PZgiOY2eDDC7gN4DBo GX/t4Oyc6vsMMjj5k86KM0CRbF1q6YxUPleuE11zqT4F4sKC2P7i5dfz0JytjKK9bty+ DBKMlZrrEfHTWxDJFXY7iirxjEvzmwLVsE35TE8zip3ShqNeaqwdR5QvIhnplP7PiH3r MJB+bW1afTVonfROzM+qct8RZsMXahYbe8FpGultxYa/c0T0qzD0uOeTR+xwSbnun1fY FKqFE6AB1eWhRVoZdZ358/zAqlqTC7+TMqWVevYPhFTtlrCeWYOBC8Lq35pZXKawtOPI 0JCg== X-Forwarded-Encrypted: i=1; AHgh+RrpmuUcKbNkLE9OnkAlArUFW1S3eYw+veHEMeVTb7QFLEhu+1/IqiztAO399rt9lswYqqwlf47OPTuXHBQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yy2OrCSv5d2d/kBqrRCBtf/++ImN5SuHEHsTzXt5nYSg1UM7DYX MAOcBPiBLcPZlGu8oq3d4/+dWjQ9BxOy3b2T2+afYPks7GX/rQcgXUZIfolr+mKck1cCOH5zG/S 4Lr6xDsjXgjXX7bqTi1BVFNxXWYSfcSZRVuHXCNkAvI44snsJ5s5sgFeTNqd7cKd/yg8= X-Gm-Gg: AR+sD114rKXRYNcIRGxLO3xVH/9hQ4GUvA0gKu/Jvnxh9n9+jJhnPuWmzg96km2BwjX MxJoNibtIEnVTC4zMABwvfGGjUalCAFIt/o4yC2SiGfa/o5wEr7l4h/wrpZ+XQGe0IUav9uzcDN 0OvKPvwSdW2rcUPvV693bWeqTuNWjJCyS0gDHNiq219MM2i+FuL17DUmygNU+34sl6y99kmFdvF umj5y/XEh60lOr65MnZez/fchM6WHFpFcHGyUbInPOFE6KTu6+gOamGj/eP+SwtWodKddCCoqjn nl1o/8DU0h62LvglHKOSDCLpWKdHGE9mQV7mGnm9cvVuz+Ydpib49QYPUmB3hx41FXnfPbjGAQi RVkRsWgOZtH0C9D7OSfK+MMD6 X-Received: by 2002:a05:6a21:6daa:b0:3c4:3672:ba6 with SMTP id adf61e73a8af0-3cbadc15329mr20294289637.22.1786220631907; 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: linux-kernel@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: R3NfQ-jwoRtK1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uY= X-Proofpoint-ORIG-GUID: R3NfQ-jwoRtK1wz3pbjuR0j6_w1CHyRn 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 priorityscore=1501 clxscore=1015 bulkscore=0 impostorscore=0 phishscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 malwarescore=0 suspectscore=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