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 48C09204C36 for ; Mon, 3 Feb 2025 13:31:39 +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=1738589500; cv=none; b=JU90SmbiV9cMQyBKVv2ekWlsbt3RhAAZBMJJF2RIRQt9YWPMdi+wv09IZ9VfDTM5QVi+hA9uPXu2b7xRgyX69YVGbKYUeDeRiB6YAUop0moaH/iSyyyqnrSW4Yv3NCaOZOdh+TvWcgQSD18nELUqIQjxfCtGeDAWjEUtpxFeu6s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738589500; c=relaxed/simple; bh=Eund3jyuYpLBfbJJeLLP1e2poBQTo0E2uMapFZwaFzc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Wv3KWmm8nmCwsY+8uQ4cx+peajasTPmYkAYSZA7ENN6u0I1cZwFLHQdeNy1XDH6amJggbtQLIkukOBQTtK/CJJn0LHluBeNlFagQttpMH9B9w05sY607Tpvqo+T7NSjs+BFtXnkteHB7togZhtY+gbS8/ufzdLyRVdm19LGx2dw= 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=O7wVcHe3; 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="O7wVcHe3" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 513BUbar003996 for ; Mon, 3 Feb 2025 13:31:38 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= vrASFeD/RX4xjdEkuTjuGfeyLiwa5UYBF/k0/MGX+wA=; b=O7wVcHe33uKMHIdB WsoiU0cihmV9AEnr+jhall6c4D0pX22Wqm9WGGWczeZV32GWHINPm0EQ5PJmHdQk hkpdymHTAvZffi9B5+/tLTfvQTjqjolLRECssI7b45cGSC6FWFVd2rD8Gd/3Tfxq f0ohtR6kXZyCvIjH6ffi7Jyo9CWlVFAaSqoVFPwJCUVENRIo1vDy7Mzqww8ohJ2Z 9mfsZunWU7l8Y605lRqUVQ6SFlZsEZh/aYRc90upTOiyi2NJhPUYw5uMCrM+LV1s NkybT3WC3/BB0WYaXqZK4lthx1I1wfy15Omfw3P3eh1i0zDMxT6qRGROrEjcnySj CgM7oQ== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44jw03gec0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 03 Feb 2025 13:31:38 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-7b6f85325c3so57833985a.1 for ; Mon, 03 Feb 2025 05:31:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738589497; x=1739194297; 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=vrASFeD/RX4xjdEkuTjuGfeyLiwa5UYBF/k0/MGX+wA=; b=i3WpOyAYv7DCXl+kE2Vug+s2y1aZOackmGPGmPy2JVjA8npCe3ACKpOPqxfLv12BQ6 cp0HuED/0dJPeE7pB+Sd4NWAu98H/J3M3p6fC28cevXh/H5QxnSvcT+8GxLsg3bbhz8g UXgPda3udK0K8msY/DRDpB0FLGFmDLRDtv9HUAvGJ7oHQOfvbQelcdeLCFMGjDr+emZK 0i1kwDDaxKp+oSZTjWYfhSVC3m9ZanpkiEFxDbpt//Y9mIFYScB+EW0MxgXv32jPG8rY GauWtHfGb7OmOrjSgGD+lEUSfcAmg891/YF5bIsXgkaduagPhrpnARMmukkzOG8DZEfv YExQ== X-Forwarded-Encrypted: i=1; AJvYcCWfz31MPvQkBbE1PEWR4Gn7qFTXHKqkspozXb8s+g4b164FoztkPmZgA0C/GgKlLP5vr2IiGHm0bi+zonE=@vger.kernel.org X-Gm-Message-State: AOJu0YxfQKv7QFEPQrbGRuJ5mTXF90XD7x6ZdzVYJ7AoYh0XPIYUvwy2 oEeGzK/CPb6kF2Fr9uuRKts7+weRBsFkY3Ydr7W3ynMqBsXV7D+Mw0O3aFTq3wO3wrBmNrsKE3b +qAm6L1MdDWmZ5BHYTxxMNVSyMTj4eRXcgYTYNnQlBMlzl1HWynx1Mnu3VLPyVsWEYkklMQU= X-Gm-Gg: ASbGncsLViEOwi+Fw2xkjqpKJrQKbRS2pRHGXcsNmY82UgMIRclms/T6h35K9WSz1wV EBdG1iD4pQok3DKMUIllOZcSxFhzJXlMELu4Woowj2xY5dK19Onjmjzcb3NDUyQ7DaXF1en10WU gVllEMUOwnEzO9uwLHkLoFvSjc3eM9KZ7DLIuXEMS565cUJZpXAbvkNCp9x9ROdLjARw+W4p644 mXoQFaMLSbB6DJllaVgYCRp8sM3fxnHr+1QUSPJTpMosVQQNOj3VGglmjwxVoSny0v7VODCKF91 m0UGrHLaI2M34bBsVzIdtF3+/vwq5D9jNv1RPjuqlATRvlu+4TXdy1hzrZs= X-Received: by 2002:a05:620a:2893:b0:7bf:f916:fb04 with SMTP id af79cd13be357-7bffccc3ab8mr1241595285a.3.1738589496887; Mon, 03 Feb 2025 05:31:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IEs68EfozOwNdu+DSV1z08SRJZ9lyVINlog+cHHktp74/5Pcqzu8Q9zG+4nimud0zJg8y7AmA== X-Received: by 2002:a05:620a:2893:b0:7bf:f916:fb04 with SMTP id af79cd13be357-7bffccc3ab8mr1241593685a.3.1738589496538; Mon, 03 Feb 2025 05:31:36 -0800 (PST) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab6e4a54fdbsm750176966b.162.2025.02.03.05.31.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Feb 2025 05:31:36 -0800 (PST) Message-ID: Date: Mon, 3 Feb 2025 14:31:34 +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 v4 2/4] arm64: dts: qcom: sm8650: setup gpu thermal with higher temperatures To: Neil Armstrong , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250203-topic-sm8650-thermal-cpu-idle-v4-0-65e35f307301@linaro.org> <20250203-topic-sm8650-thermal-cpu-idle-v4-2-65e35f307301@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20250203-topic-sm8650-thermal-cpu-idle-v4-2-65e35f307301@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: _Zf5iKsdiJE8Bx93-ldxUwGaX68RFAUY X-Proofpoint-ORIG-GUID: _Zf5iKsdiJE8Bx93-ldxUwGaX68RFAUY 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-03_05,2025-01-31_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 phishscore=0 mlxlogscore=999 impostorscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 clxscore=1015 spamscore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2501170000 definitions=main-2502030099 On 3.02.2025 2:23 PM, Neil Armstrong wrote: > On the SM8650, the dynamic clock and voltage scaling (DCVS) for the GPU > is done from the HLOS, but the GPU can achieve a much higher temperature > before failing according the reference downstream implementation. > > Set higher temperatures in the GPU trip points corresponding to > the temperatures provided by Qualcomm in the dowstream source, much > closer to the junction temperature and with a higher critical > temperature trip in the case the HLOS DCVS cannot handle the > temperature surge. > > The tsens MAX_THRESHOLD is set to 120C on those platforms, so set > the hot to 110C to leave a chance to HLOS to react and critical to > 115C to avoid the monitor thermal shutdown. > > Fixes: 497624ed5506 ("arm64: dts: qcom: sm8650: Throttle the GPU when overheating") > Signed-off-by: Neil Armstrong > --- Reviewed-by: Konrad Dybcio Konrad