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 EE0FB17591 for ; Fri, 21 Feb 2025 19:35:51 +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=1740166553; cv=none; b=WZndUZEYEq2X9RZfh0JO6mFf3yLOYGVJwdqlTVNj0Z/6Ki5ZzWiWdCbZIQD6xRWVq/MfPWdtFb2JUE0grpJvUbrrXAiEypnvPaJdwtjjFpyGeIx8ljhbAbKLwvilDLqjKtllhfoj1AZNmqpL6Lo8gYZgZrYosCeq+d4DPQdHobg= 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.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="TQWhks1C" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 51LCXQrN008326 for ; Fri, 21 Feb 2025 19:35:50 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-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44vyy3k3s8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 21 Feb 2025 19:35:50 +0000 (GMT) Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-6e65d6882a6so2459336d6.3 for ; Fri, 21 Feb 2025 11:35:50 -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=OFO8JlW+K3ZSFLKOztLddCag+ABQGqw14+g5XdMK/ek5maOHvPefrLOrm4CTCLzybG aFomfwyhbU1VJD7YH9O6TuTYIcQyDDvTOUpSSwydJ3wTkoZAicUGxMwxUtCBtVZ+ZBoT iymveJz/2qhlmcFx18qAU6rhVYh/aqAyYM9rfc/xhzng+UgwwX5SzsMC+to/iQHEMdHA Fd+UJjMRqXZvVLNJaNoPyEwo/mB/pOkWUlYOsFiq7aJ21YewsfVgb8SU9Q5sqqwyGmoO ZfRtj38379jP880VvnHGuBfFOd/vbDkYEew/EI18zPoqMOhhpMEiqVy9cjByOr8seice r3vA== X-Forwarded-Encrypted: i=1; AJvYcCUQIcwgrkr1XkQ7qkJcM0+I7M8wJr2kDAzrShwV0vPyKBbu3OogFd/KyadOwTHgwLGUmCKscQ1MrBGEJmGU@vger.kernel.org X-Gm-Message-State: AOJu0Yyi3bS1kECrrAKp5YpAK4V2zGnI9cVBu4+/caS/y3GhhoyhKqem aGBQ2q95NG1dcviKqQAg+vKGmqAenvFSOKdO+AQTGOnPVtLh0TY9KO9XPKsvF4uzV9VUfRIKj05 2jO7DASOtH5VvzEKXovuWUWFEWVhrxaTGfegmpbJHFwL+aNJzzTQZ4BWPtrczWBP/ X-Gm-Gg: ASbGnct+djlnNQ83De7X4TeJekkqeCrzH9Gpgr034TNshKQkZWEH5G4KsjRp8APCJwn N6N6BfWkteMOkF2QVw0hnAuWYU9QooJmT9xyRY2mlUzWKX4yEQFzJW++ZzWvvxEkvW/KJc79DcJ gEb/FpUM5Wvges/FLj8gvbaVWLWqIFpH1uFhSsUyEi5gNyHmoM9JnsyJtwVEGz2dayPthRnlPvJ wrk1UZC0HkfxNeAbT55QKoECzesW+T4vzilcnuVjcu4nC3maDifrgWNAWaMFdbFbcYh3ZGqltVm gJEBjqGwS5QTEyYef+1VY25DjjzyITJj2mIJihldxYA/On1i5yenwwY9wVBN0CYQFawxcw== X-Received: by 2002:a05:6214:2aa2:b0:6d9:2fe3:bf0c with SMTP id 6a1803df08f44-6e6ae7f5851mr19833236d6.4.1740166548515; 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-arm-msm@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: JHdSntDzGYwAnt0DzYoseBt9JzGEkAD7 X-Proofpoint-GUID: JHdSntDzGYwAnt0DzYoseBt9JzGEkAD7 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 suspectscore=0 clxscore=1015 phishscore=0 adultscore=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 malwarescore=0 spamscore=0 mlxlogscore=944 mlxscore=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