From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 116EF1CD1E1 for ; Fri, 21 Feb 2025 19:35:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740166553; cv=none; b=umRB4v0/U2Xc1afvxhxisgH1rm+HUVd+UX9MnQqvTGjKsbWCSN9CI4fw2IP4liOHRZGLjjxPb2e2DVO3ncFgJx8htfhtaq5XMhFma1Vc6XwcxFrjvY7dp2ovVzViNfCoPtdtZqHkXYn5nCRS5vfiy7DGK95qTYugjd8hgNwWdHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740166553; c=relaxed/simple; bh=/GtNAWYVFeppTawHuxJ8Q0Z1+wtfEQ4440q9MqPaZyQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nOTxrTAUj8ChzZHRF6YCR8XxVJLoSNm7JFxuczS8iZ93IAKASYczXtF88obKgf4zcNCK0ZAHAOESVRQKXVNCiay+xQh55oRrZ0gqgqftqBWZs3sC/AFNEeHKhGEeM1NQxR/9w5iPkrHaYFvnVsQymcr98XxPMp0Xz/LQ9j1/VCI= 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=TQWhks1C; arc=none smtp.client-ip=205.220.168.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="TQWhks1C" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51LEXLkM020486 for ; Fri, 21 Feb 2025 19:35:51 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= /F/0euKZ9yVT/f+WIos2+GLHC3Z5Thx3nrFODEnQt/I=; b=TQWhks1CmMMSnVLx uJf4J399PHnZ8KiTRPfWyCqMDYoP910pYiNXiqlc58E68ofr207L1DFYAM2EksHw /3rk5HZC4+WxOOuYwsl1CVx5MG3agkidqOzKll3tdJQGZEQPyZltOaXhrB0pTRoy uLuiK2BG8k5EGlYmTCIBQEvM4nQkce+g0Mzrqp9pSPGzfpV/GKS2h1yyhNiPQss0 tK2V6mLDujwA3ijPGK3UbyemFnq2aypbOIzxGiBBL1aU0WNwklilzt6JK8uszupO 6fBPDsVZY3HbcW9jQctvMVgykyG+9YtF2WFQWRIDE5NizBSOzVWsXlqpMfplu9l9 7VWN3A== Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44x06t5qmb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 21 Feb 2025 19:35:51 +0000 (GMT) Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6e65d6882a6so2459346d6.3 for ; Fri, 21 Feb 2025 11:35:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740166550; x=1740771350; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/F/0euKZ9yVT/f+WIos2+GLHC3Z5Thx3nrFODEnQt/I=; b=AEXJmVE2eo00Z/9qd3v9NiG7b4fwZ5/SNTp+m72gvgih1SSF09KU1n4kAhhmVsM/aL Z4YWjmMWrp3P6Y7FHDpEZeq+ntKtckFGqFFf3JHiKkLw5+52pLr525Qgmltk9f0CEqrH 2OCpA/2Nq98AgB8h0sovKAqHUtfM0QfG9Ig4BgN+BOmP7fjLOHT5ESzy/tl6M7woHBaM 4mqGdvN70aXN+tcf8XGgnMQLnCNtOdvV5d1E9qp5YVFVpiSAeUfA4kJ7Cj+9QT1c1szf Ogm6a3xAD1kr2wg/PzvVQ6aLeKH2yrolayVGRskxivkDbD8vzt+aUFcI1jaVI7CcEolo L9Cw== X-Forwarded-Encrypted: i=1; AJvYcCW+kGgjTjyh2KSCgoi0e0sPjL/vguI9usSfuW7kAqYe7KzZTloHKlAQCRgXK0jVvoPo6jousWtT53p0tJ8=@vger.kernel.org X-Gm-Message-State: AOJu0Yxlo9BEz3DsEpGb30sbwLvw4DGvUomdwoURwHhMf1SmV3hFYP9c 0wNdfvm9JBGrekS/0wr9/yR8+s2vpLU02yh0hZ2wIk94OltWhjqN1d4VjzMcNOy1en2aQwbLthV QLrRMcIp8BpH65X2Dcwnp3lKHhNfqP8COGzswubrJ2rPBOmInhjWTa3f0jlURQfc= X-Gm-Gg: ASbGncuBA+NWDvaaMfSJdEsJnpeNgb6sgNtpAnXPqbyOUsEUy6uFBBCmnS2HDM97Gbv IcEXpCtUvhs9QvcUWJuBftx9XxKIVLM1UMqdEKgfd92o4ulnwAkHuj3TWJd64JtziAL4OQ7DqeL 57Nu1geWfT+xlXkDW/DKUXuD0Kvw38aTmoOLCTYTUPIa0qH12++gJ/KZO2ffEkMXUl/g4hdwql0 RPB0/eTsi+DeaqWz7YxDiwhMB1MiPyMjRasN5h/3H51RHcvZWTqWKLay8E9XWNJ9FSWgN+36G6l xpZodFqkQX62YLWkAR9/gRm9HN9SAU0+tyrZ8Dtkn+Le1h1jC2TxhbYDlH4vdFFet3y78Q== X-Received: by 2002:a05:6214:2aa2:b0:6d9:2fe3:bf0c with SMTP id 6a1803df08f44-6e6ae7f5851mr19833186d6.4.1740166548512; Fri, 21 Feb 2025 11:35:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5TUGSsZkcPxcvhyc4hTF6CkuQchyS5vKs4v/y/Gk2uhIiDT1+BM42KpXtEAIAJXk833NAxw== X-Received: by 2002:a05:6214:2aa2:b0:6d9:2fe3:bf0c with SMTP id 6a1803df08f44-6e6ae7f5851mr19832596d6.4.1740166546639; Fri, 21 Feb 2025 11:35:46 -0800 (PST) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-abb8915db0dsm1185492066b.145.2025.02.21.11.35.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Feb 2025 11:35:45 -0800 (PST) Message-ID: <861c7481-eae2-4d49-9bdc-434c0fe462fd@oss.qualcomm.com> Date: Fri, 21 Feb 2025 20:35:43 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/4] arm64: dts: qcom: x1e80100: Add GPU cooling To: Stephan Gerhold , Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Rajendra Nayak , Akhil P Oommen , Johan Hovold , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong References: <20250219-x1e80100-thermal-fixes-v1-0-d110e44ac3f9@linaro.org> <20250219-x1e80100-thermal-fixes-v1-3-d110e44ac3f9@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20250219-x1e80100-thermal-fixes-v1-3-d110e44ac3f9@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: 7fNKFurEcG059WJASda09TX9gQ6CrLWg X-Proofpoint-GUID: 7fNKFurEcG059WJASda09TX9gQ6CrLWg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-21_07,2025-02-20_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 clxscore=1015 spamscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 impostorscore=0 mlxlogscore=948 phishscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2502100000 definitions=main-2502210134 On 19.02.2025 12:36 PM, Stephan Gerhold wrote: > Unlike the CPU, the GPU does not throttle its speed automatically when it > reaches high temperatures. With certain high GPU loads it is possible to > reach the critical hardware shutdown temperature of 120°C, endangering the > hardware and making it impossible to run certain applications. > > Set up GPU cooling similar to the ACPI tables, by throttling the GPU speed > when reaching 95°C and polling every 200ms. > > Cc: stable@vger.kernel.org > Fixes: 721e38301b79 ("arm64: dts: qcom: x1e80100: Add gpu support") > Signed-off-by: Stephan Gerhold > --- Reviewed-by: Konrad Dybcio Konrad