From patchwork Wed Jan 8 20:40:03 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akhil P Oommen X-Patchwork-Id: 13931525 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 AB3C91B042D; Wed, 8 Jan 2025 20:41:20 +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=1736368882; cv=none; b=L0F/T8Tog63Cdj7uN2TK3qmBiUguwf0Dgp2rTkQSQSTvGsfJ1KGps9apzdfy7fuTtO9FaC9fQG/jfJzqmSNACZ8prjLvm5QlLGQ9qHYtbtXM8bqWC/zzUHh3JSPWXgm3g/OB4l1Bu/HO90L0Z9itTzh4EiWxRPnVZDzqRZLqcyM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736368882; c=relaxed/simple; bh=eu/hhvVvgclHii1r94EBUS3tiCI0h4oiHiattns3nC8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=jTeMyVWo/vD6Q6ToQqYeixBfY9uTNSbv+1sWEg73k5sObptZ3o//3yx8OliFMoitvlA9KbpCSVRgRij6UC833co6LoRHhAz2HBlmglTJLB0g9K/fFPQV6yOEmj0k2TzdF1PQ79oEoWTmcqWs9hGJHRFFqygYpGHpMfQmSFiXays= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=KaNvMVv3; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="KaNvMVv3" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 508HMV08014703; Wed, 8 Jan 2025 20:41:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= II+9tTdCD7xr/nUhuVRr7cQjsHxkXM1WgKAVqkFla3g=; b=KaNvMVv3GC/hYwbW Err9wghcqqDNj39DRJFIBzu7lQBG7jj6y0WqqO0k4WtQ5TF3oJlitZPCI9ArHEBn a8oY2yu/ivyma2COCq7MjT906109Qzu2FYd3/6x9HWJ77XV2TneBiJ/bLD9+lO01 jt8lnEEMQx0xVNoFYNoCN7W3SO3ENjHYa4Qy1C1cFmf57kP3hcRTX3pbw5QqGbup /dzXi8hmO8MyT0CyFDI63aBmWXa6QpfBe5KGRD5SUflMFYo3c2uQ4Byqazucc2ik iMKHmvh0VP0J1pB6oQaffmuBTCKVUcEetz/1P5lPTI172uRPKuFLlaYrsPhaP8qS qSMSwA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 441wq50f4v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jan 2025 20:41:12 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 508KfBUl021251 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 8 Jan 2025 20:41:11 GMT Received: from [10.213.111.143] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 8 Jan 2025 12:41:05 -0800 From: Akhil P Oommen Date: Thu, 9 Jan 2025 02:10:03 +0530 Subject: [PATCH v4 7/7] arm64: dts: qcom: x1e80100: Add OPPs up to Turbo L3 for GPU Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250109-gpu-acd-v4-7-08a5efaf4a23@quicinc.com> References: <20250109-gpu-acd-v4-0-08a5efaf4a23@quicinc.com> In-Reply-To: <20250109-gpu-acd-v4-0-08a5efaf4a23@quicinc.com> To: Rob Clark , Sean Paul , "Konrad Dybcio" , Abhinav Kumar , Dmitry Baryshkov , Marijn Suijten , David Airlie , "Simona Vetter" , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Akhil P Oommen , Bjorn Andersson , Maya Matuszczyk CC: , , , , , , Konrad Dybcio X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736368821; l=1396; i=quic_akhilpo@quicinc.com; s=20240726; h=from:subject:message-id; bh=eu/hhvVvgclHii1r94EBUS3tiCI0h4oiHiattns3nC8=; b=4aslV3BTsDtYT2UgOGk+yRajrrM2croasgY9RpomOELdXDxO1alep7YiYyPQekPMX9V7jwuUW 85Vs63kU5iPALk/KHnc8VqFarNhOoYZNHnqvYntlpNpolnAUqDGb8D8 X-Developer-Key: i=quic_akhilpo@quicinc.com; a=ed25519; pk=lmVtttSHmAUYFnJsQHX80IIRmYmXA4+CzpGcWOOsfKA= X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: B8TLtuKi4fH4XcADykmwRqSHIQtuNoNk X-Proofpoint-ORIG-GUID: B8TLtuKi4fH4XcADykmwRqSHIQtuNoNk X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 suspectscore=0 lowpriorityscore=0 impostorscore=0 bulkscore=0 spamscore=0 clxscore=1015 malwarescore=0 mlxlogscore=813 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501080168 Now that we have ACD support for GPU, add additional OPPs up to Turbo L3 which are supported across all existing SKUs. Reviewed-by: Konrad Dybcio Signed-off-by: Akhil P Oommen --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 2cf16f904aaa..444723ab4f11 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -3337,10 +3337,24 @@ zap-shader { gpu_opp_table: opp-table { compatible = "operating-points-v2-adreno", "operating-points-v2"; + opp-1250000000 { + opp-hz = /bits/ 64 <1250000000>; + opp-level = ; + opp-peak-kBps = <16500000>; + qcom,opp-acd-level = <0xa82a5ffd>; + }; + + opp-1175000000 { + opp-hz = /bits/ 64 <1175000000>; + opp-level = ; + opp-peak-kBps = <14398438>; + qcom,opp-acd-level = <0xa82a5ffd>; + }; + opp-1100000000 { opp-hz = /bits/ 64 <1100000000>; opp-level = ; - opp-peak-kBps = <16500000>; + opp-peak-kBps = <14398438>; qcom,opp-acd-level = <0xa82a5ffd>; };