From patchwork Fri May 9 07:21:39 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: 889481 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 6DE4B26FDB9; Fri, 9 May 2025 07:22:40 +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=1746775361; cv=none; b=XccxYRTiPFBZ2+iAHGRV/rt9ZGjpWsCAQAxnGIxcgVw9WuDSb8/4IxIAqG2eOXR3HXD2zTgnWt9hzZYW+t0DVQLUh8zHT+Nm09RoZlz4usxE2mZl3t1EHxsZVxKLfH37a1TydqkWY0UqDKgjtEknyJ0Qcf6saJTrC1W6wghHcEk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746775361; c=relaxed/simple; bh=LBGiZUzW1ru0MctfJ/uolTpMLFw50iytMxqoYMNQJ8o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=WsO5JiC1Y7y9pqhapo0DImLxWgplqUNC+9yiQ3ef4qR2Kyq/BO612PI58PcKZf1lmUoULNPh3sQnY1Bo16tTx+SyrFQj5QULL1yQDYwaA8mi19qIcQm9ueNLDBKvtLOAquuHeqyzaIgErKiN1vqgR15rvehBa3wAU3IKFlBiTjA= 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=KPEfb/5f; arc=none smtp.client-ip=205.220.168.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="KPEfb/5f" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5492TXAn010134; Fri, 9 May 2025 07:22:30 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= Dla8B35B5GI7NgCRFcppF9HQbZmolek3xZUmGt8T47U=; b=KPEfb/5f+TMt5MEM O5z5n8tx7j0dbRM4M0Y7CIafCHQ1Aa3SjB0e5Xb6hXNM64YIjITcD9Aabxib5cQD Mw/NcTxngEV/EdtdEqn/xe5/sVvvHx+U5/TtrOusMJx8md4Je1QR1QgQbsh5DwgP svcj3jc/yLjac1cH2eh9V+cS/nwNOpFC6++o3mVK2dxW7t9oLne8U10Zs0i3KSCq 37DKOL6MuTIGhbaMQeZYaTeenj8DKjlaMHXSoOVze19zi0zcE7g62Ytc3V7/HBtB U7QPClzAAhPGq8FmAR2ebYMnF/+uA1oIJIAgVnBUUH57NYC/K+eCrwdjp6rtnHEs /0l0sg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 46gnp7btur-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 May 2025 07:22:30 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 5497MTBi012284 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 9 May 2025 07:22:29 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; Fri, 9 May 2025 00:22:23 -0700 From: Akhil P Oommen Date: Fri, 9 May 2025 12:51:39 +0530 Subject: [PATCH v4 1/3] dt-bindings: display/msm/gmu: Update Adreno 623 bindings Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250509-a623-gpu-support-v4-1-d4da14600501@quicinc.com> References: <20250509-a623-gpu-support-v4-0-d4da14600501@quicinc.com> In-Reply-To: <20250509-a623-gpu-support-v4-0-d4da14600501@quicinc.com> To: Rob Clark , Sean Paul , "Konrad Dybcio" , Abhinav Kumar , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Dmitry Baryshkov CC: , , , , , Jie Zhang , "Akhil P Oommen" X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1746775337; l=1861; i=quic_akhilpo@quicinc.com; s=20240726; h=from:subject:message-id; bh=YW+qNb3QmImeSEjxA2dh16peK5ppbEY4RY5TSaG5hNc=; b=jTs8TQc5m9joAQ9xWPP8xl1pKvGC6VlDOkUaKzxkygbzMv3ZbLkM7/dwfd6r7+K4BI/GB6aAD 23KJcq7ct0WDr5rgcRh44nrW1Ttw0f71AIyAyUlp6f9hp0YrubKPS8Y 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-Spam-Details-Enc: AW1haW4tMjUwNTA5MDA3MCBTYWx0ZWRfX/2YEsHbXV95C 0sBHEQjKDG6KJhc78lOMkfKxIBwc4kQQ102RVLpXpxb8zv+MIQsyW174Qr7D5rRgBjCFPCFBCmr 5oiYc4anfeu+UC4a1gO3BP6QoQk5kpcTGjgYyWEuoepxineOzIM9yt1lhqk/D+xJW5zoIiCUR/o QNzZ6pY3NEe7pLglekpVEV3d3454qIn9KZhfp9qGF6R74uJDORbX/JB1J7HQpi+kY0JSX39KpMc k6lpfbgB1ZxCIBMW+shNpEoa5r49dhV4bo/psm0RNJNROujTogvJ6BELH44A3TX9/w4hcGRHFkE ozAYuzVcLvnUPcuNlfTgZ/N4xrcXcDlpB8sGh8KgKZ2sSVpLVuYnpEY81b/66J1tWLbjY0g8aCc mc04+BHbIvqIk8ojQTehIaWMqvHem6tdNzwh+kB1nRqjEKzMY1qZgEp6iRI+Uvv2Tp++HtKj X-Proofpoint-GUID: a30TSwTBNc5ua0zXgQvWlErZfEdsRBjl X-Authority-Analysis: v=2.4 cv=B/G50PtM c=1 sm=1 tr=0 ts=681dad36 cx=c_pps a=ouPCqIW2jiPt+lZRy3xVPw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=GEpy-HfZoHoA:10 a=IkcTkHD0fZMA:10 a=dt9VzEwgFbYA:10 a=COk6AnOGAAAA:8 a=Z2Up3Oz-XkvUWgdIv6MA:9 a=QEXdDO2ut3YA:10 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: a30TSwTBNc5ua0zXgQvWlErZfEdsRBjl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-09_02,2025-05-08_04,2025-02-21_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 spamscore=0 suspectscore=0 phishscore=0 priorityscore=1501 bulkscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2504070000 definitions=main-2505090070 From: Jie Zhang Update Adreno 623's dt-binding to remove smmu_clk which is not required for this GMU. Signed-off-by: Jie Zhang Signed-off-by: Akhil P Oommen --- .../devicetree/bindings/display/msm/gmu.yaml | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/gmu.yaml b/Documentation/devicetree/bindings/display/msm/gmu.yaml index 4392aa7a4ffe2492d69a21e067be1f42e00016d8..afc1879357440c137cadeb2d9a74ae8459570a25 100644 --- a/Documentation/devicetree/bindings/display/msm/gmu.yaml +++ b/Documentation/devicetree/bindings/display/msm/gmu.yaml @@ -124,6 +124,40 @@ allOf: contains: enum: - qcom,adreno-gmu-623.0 + then: + properties: + reg: + items: + - description: Core GMU registers + - description: Resource controller registers + - description: GMU PDC registers + reg-names: + items: + - const: gmu + - const: rscc + - const: gmu_pdc + clocks: + items: + - description: GMU clock + - description: GPU CX clock + - description: GPU AXI clock + - description: GPU MEMNOC clock + - description: GPU AHB clock + - description: GPU HUB CX clock + clock-names: + items: + - const: gmu + - const: cxo + - const: axi + - const: memnoc + - const: ahb + - const: hub + + - if: + properties: + compatible: + contains: + enum: - qcom,adreno-gmu-635.0 - qcom,adreno-gmu-660.1 - qcom,adreno-gmu-663.0 From patchwork Fri May 9 07:21:40 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: 888847 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 9BC9926C3A7; Fri, 9 May 2025 07:22:47 +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=1746775369; cv=none; b=MoyP7SVKNs8hl0XTaFTK1heKxtq5egxH6UU1ie1fmL/E8JpDIMei3dxmzbhLkdFSamIxWZQvUBdsJpvVjN14rcCYUVtEy2WbT225owAMqiGDWIe/pz2Vr7xO8dqm4VaLARiD+Z8rf7bic8WtNrD2GQIZc1yUDKXn8hlAYVq6aqY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746775369; c=relaxed/simple; bh=/oA68eFBe5E8mmsg6F5TixcEt/kPA770I2QqKzPSfsI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=aM4izcq+joR/y6KPOdxrysbywrb0iQV852Ev2xyKoov7mPoj8Vn7FQ3yht5q2Jy5RJ+cXwEidfGElp1qPGres7yTbFwWhdHIW22Su/JNES/hU01Fglc2Qthl9yLTLfJ6ywgxx8l5A0b76kinn1fgguWLZzkEHBYhaZZbWnGE3cc= 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=DQtSte/L; arc=none smtp.client-ip=205.220.168.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="DQtSte/L" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5497ABqp019287; Fri, 9 May 2025 07:22:36 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= c+YxeEgy/0njEoRBvcuzAAKLhzbxA4ZgdKXmQftvI6s=; b=DQtSte/LLEDw7hc4 R9XxQI0Shmn01ws2EV/WBVE3G72tmVlFXj3CcYND0MTJwhWjTxV0O4xG09lDmoIw a6U+yfGQYi98eoAzqjmCdYUmzllKDsKo5CDyaB9MDLD/T3xf7KzatuHH1IjUjxyy 978ynTIB0Wmsj2cuYHTeRZ14VCKEIM3gR+mQJJlSiIbY9QO+Qd4FpJOUQKtkIJr8 OPVfvJIFK7MfEInjM41yKEBSGTd7Em0V+sswHMoOhnLh/oUuVPOMy4JEluAEu9PM R6921aPJHKgnRbT8p0SF6BBnBc/W9g0VtiimTy23tsV/rdCfwJjAnSJDQwH6S0gg qH4+Sw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 46gsdj365c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 May 2025 07:22:36 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 5497MZXd031257 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 9 May 2025 07:22:35 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; Fri, 9 May 2025 00:22:29 -0700 From: Akhil P Oommen Date: Fri, 9 May 2025 12:51:40 +0530 Subject: [PATCH v4 2/3] arm64: dts: qcom: qcs8300: Add gpu and gmu nodes Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250509-a623-gpu-support-v4-2-d4da14600501@quicinc.com> References: <20250509-a623-gpu-support-v4-0-d4da14600501@quicinc.com> In-Reply-To: <20250509-a623-gpu-support-v4-0-d4da14600501@quicinc.com> To: Rob Clark , Sean Paul , "Konrad Dybcio" , Abhinav Kumar , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Dmitry Baryshkov CC: , , , , , Jie Zhang , "Akhil P Oommen" X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1746775337; l=3418; i=quic_akhilpo@quicinc.com; s=20240726; h=from:subject:message-id; bh=U9LN1k/PoYST/y5hup9fuhUPNbh152ddfDme30oCAZs=; b=zoxIhggDaAlvwD2fTxCV4ud8jlEI+dN0qHaYjlGfgDvyeLXrzUis6n/ZJIW5Anho3LNHBZZmC jbA8YZvHspeDVNIJ/cApzQXUr9na71k+wSnW71xf6Z8VRuhi4yo8cpj 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-Authority-Analysis: v=2.4 cv=PMAP+eqC c=1 sm=1 tr=0 ts=681dad3c cx=c_pps a=ouPCqIW2jiPt+lZRy3xVPw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=GEpy-HfZoHoA:10 a=IkcTkHD0fZMA:10 a=dt9VzEwgFbYA:10 a=COk6AnOGAAAA:8 a=DOBxdMOjXtw3fjWlhrYA:9 a=QEXdDO2ut3YA:10 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTA5MDA3MCBTYWx0ZWRfX6u1EhrhKOygU 4HV8mo8wC4kMlyNs+5sTwY8xlzqdj+Px/Bvw7tFK3CCBN/BuZNPd/hWA1fhgPV/SSZM3Sdpvyrb 5E7sWP7/x/ddDvCE9g+JchfHAYZbEDCfwRT/kljDyUJiXKcjjJK+U6k0+3pCrWxL107TzMS3bja uanDzYUk59w+fQ0X13M718L36U9uYM73YAuB+r3W/KJYmMzzS5uaBxIyUCvNT/JN/9WwCwiTtMl 8fbiIJ/YRUphmBD8d+DA/gNtaPZi0gjZ5Pu6jc1FFLR92CcE//6rpgAVcBsSDyuXBcfNlpauMzA o+U8adc9pvhWn6lcDJUhv/b2XcM76M3j+ZGsmHqoADT4a1PH3kgoXtfiFdrUt0rQFgLzb1hfNKk oLFzsClNCtqww1W82ZVFAYIr00HtSUv09X+nOMG2ByxqG9/Zoh/URdEKv+eg4e7Av2/M6Pnl X-Proofpoint-GUID: 3_Fym0k-1l8ThfJjjWv1NZAepb9c6Sn4 X-Proofpoint-ORIG-GUID: 3_Fym0k-1l8ThfJjjWv1NZAepb9c6Sn4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-09_02,2025-05-08_04,2025-02-21_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 impostorscore=0 mlxscore=0 suspectscore=0 spamscore=0 bulkscore=0 priorityscore=1501 clxscore=1015 lowpriorityscore=0 mlxlogscore=796 adultscore=0 malwarescore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2504070000 definitions=main-2505090070 From: Jie Zhang Add gpu and gmu nodes for qcs8300 chipset. Signed-off-by: Jie Zhang Signed-off-by: Akhil P Oommen Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcs8300.dtsi | 91 +++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs8300.dtsi b/arch/arm64/boot/dts/qcom/qcs8300.dtsi index 40771b062e8d7010dd93d7cc7b3db73cfa16bfdb..1dbccb9a0c75366aa6986b6adb4feb6164ee8845 100644 --- a/arch/arm64/boot/dts/qcom/qcs8300.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs8300.dtsi @@ -2660,6 +2660,97 @@ serdes0: phy@8909000 { status = "disabled"; }; + gpu: gpu@3d00000 { + compatible = "qcom,adreno-623.0", "qcom,adreno"; + reg = <0x0 0x03d00000 0x0 0x40000>, + <0x0 0x03d9e000 0x0 0x1000>, + <0x0 0x03d61000 0x0 0x800>; + reg-names = "kgsl_3d0_reg_memory", + "cx_mem", + "cx_dbgc"; + interrupts = ; + iommus = <&adreno_smmu 0 0xc00>, + <&adreno_smmu 1 0xc00>; + operating-points-v2 = <&gpu_opp_table>; + qcom,gmu = <&gmu>; + interconnects = <&gem_noc MASTER_GFX3D QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "gfx-mem"; + #cooling-cells = <2>; + + status = "disabled"; + + gpu_zap_shader: zap-shader { + memory-region = <&gpu_microcode_mem>; + }; + + gpu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-877000000 { + opp-hz = /bits/ 64 <877000000>; + opp-level = ; + opp-peak-kBps = <12484375>; + }; + + opp-780000000 { + opp-hz = /bits/ 64 <780000000>; + opp-level = ; + opp-peak-kBps = <10687500>; + }; + + opp-599000000 { + opp-hz = /bits/ 64 <599000000>; + opp-level = ; + opp-peak-kBps = <8171875>; + }; + + opp-479000000 { + opp-hz = /bits/ 64 <479000000>; + opp-level = ; + opp-peak-kBps = <5285156>; + }; + }; + }; + + gmu: gmu@3d6a000 { + compatible = "qcom,adreno-gmu-623.0", "qcom,adreno-gmu"; + reg = <0x0 0x03d6a000 0x0 0x34000>, + <0x0 0x03de0000 0x0 0x10000>, + <0x0 0x0b290000 0x0 0x10000>; + reg-names = "gmu", "rscc", "gmu_pdc"; + interrupts = , + ; + interrupt-names = "hfi", "gmu"; + clocks = <&gpucc GPU_CC_CX_GMU_CLK>, + <&gpucc GPU_CC_CXO_CLK>, + <&gcc GCC_DDRSS_GPU_AXI_CLK>, + <&gcc GCC_GPU_MEMNOC_GFX_CLK>, + <&gpucc GPU_CC_AHB_CLK>, + <&gpucc GPU_CC_HUB_CX_INT_CLK>; + clock-names = "gmu", + "cxo", + "axi", + "memnoc", + "ahb", + "hub"; + power-domains = <&gpucc GPU_CC_CX_GDSC>, + <&gpucc GPU_CC_GX_GDSC>; + power-domain-names = "cx", + "gx"; + iommus = <&adreno_smmu 5 0xc00>; + operating-points-v2 = <&gmu_opp_table>; + + gmu_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-500000000 { + opp-hz = /bits/ 64 <500000000>; + opp-level = ; + }; + }; + }; + gpucc: clock-controller@3d90000 { compatible = "qcom,qcs8300-gpucc"; reg = <0x0 0x03d90000 0x0 0xa000>; From patchwork Fri May 9 07:21:41 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: 889480 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 8782526FDB6; Fri, 9 May 2025 07:22:55 +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=1746775378; cv=none; b=YUX0xvJM3zSmTQ9AC3bDUKWJQtp8h75HUAO8Fr+Nnw8Qe1ay0aVLVyclRFsxY5k4dmHA5ZIiDYsahJZINGSmaLzh6u+uZdmcI5OxPWt7C9VsiDqtAzPsSyVOWCa9VELsletGjvrA5QayPACsfbCgOVhsuZpaKuX6g8cYrhKqmy8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746775378; c=relaxed/simple; bh=F7usVzQ0Inta3JlAjy+ox8aqluRqb7vk6q7e3z8Z3jI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=C832pMzg4zeJCmVwQ8psXe+vBE5qOm4Wmu2vMgModL3TrUYMlhCS+jS8uyopzn/+biMf1esaOOiIx6XNYGk90I3683NvvDLpyOBSvDzRVE5VyUBQIjrUkshbmcT8MhOFL9DtKZMufQz+zcqm0oaUIB/yAOp1uPW2WTuwnATL0Vg= 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=PFibXTw3; arc=none smtp.client-ip=205.220.168.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="PFibXTw3" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5493DbPO022773; Fri, 9 May 2025 07:22:42 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= cJNGRAA5W0d9okVSXO4BPgs6c4elS/ruoJbGIngO90I=; b=PFibXTw3aKYR+3hN GLTvnPqzA2BI14rA4xEFLDeZnjXbkyCC7Feyng1jpEYGQx+TN8jL/f0DgCfmXmLD 4BkOoxzMySOz+V+wrNHUbjF08vz3wvUYoFha6XdkCg9ZKNd6melLKnJTYIRCR+oC jouM3txXubA/jjo9BNMAmPa+XnhmrYdGrtKPNnA3kM+AnIUa5PrA0uvDqVSXfpwT XVaesxFdofQGJLgN25iJTfM3Gz6u31DJAurYqfDWOByDRWLSx55YMBq5aiw0taoI 2P+EmvfUY9h9OWNfeJgMkxm3FpKDTy+hCdtgWtHgP/Yj3hoW1eQruiZjXFKE1uZP a++zQA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 46gnp83sx6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 09 May 2025 07:22:42 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 5497MgoR012481 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 9 May 2025 07:22:42 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; Fri, 9 May 2025 00:22:35 -0700 From: Akhil P Oommen Date: Fri, 9 May 2025 12:51:41 +0530 Subject: [PATCH v4 3/3] arm64: dts: qcom: qcs8300-ride: Enable Adreno 623 GPU Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250509-a623-gpu-support-v4-3-d4da14600501@quicinc.com> References: <20250509-a623-gpu-support-v4-0-d4da14600501@quicinc.com> In-Reply-To: <20250509-a623-gpu-support-v4-0-d4da14600501@quicinc.com> To: Rob Clark , Sean Paul , "Konrad Dybcio" , Abhinav Kumar , Marijn Suijten , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Dmitry Baryshkov CC: , , , , , Jie Zhang , "Akhil P Oommen" X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1746775337; l=851; i=quic_akhilpo@quicinc.com; s=20240726; h=from:subject:message-id; bh=SLqrWslc9+dGwuPw0tM3Mj79iVa07v05e8RMDZ8vSlg=; b=PzAr+jtoouVKRqzAiG1LJgdG30PkSp4ftXJBrL2cCO0aOgKthGysfkONtDh/vKNXwg+wGQ/vb /bMwNLtpK5nCrSAY3oKKxhvzKll4w1CyMuouy1ljp7JtzpHzD9v3iqZ 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-Authority-Analysis: v=2.4 cv=M7xNKzws c=1 sm=1 tr=0 ts=681dad42 cx=c_pps a=ouPCqIW2jiPt+lZRy3xVPw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=GEpy-HfZoHoA:10 a=IkcTkHD0fZMA:10 a=dt9VzEwgFbYA:10 a=COk6AnOGAAAA:8 a=KKAkSRfTAAAA:8 a=ZzVv045XBorpIeM7bZwA:9 a=QEXdDO2ut3YA:10 a=TjNXssC_j7lpFel5tvFf:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-ORIG-GUID: A_FGWMU_PavKElKHl7x9efxR80aGo3y_ X-Proofpoint-GUID: A_FGWMU_PavKElKHl7x9efxR80aGo3y_ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTA5MDA3MCBTYWx0ZWRfX2CNqzsXekVvR 4GRZw3HdxDnqjcZzxGcMOQbVT+PGreyyb2G2N5sD6pZUIH6dgNmkARHhgnIkEhS0zVGX2BeOGkt JESF+++mSn90nm3UUbdxCydEIZv/+55l+kNzAmAcuU55Cdkd2Zja9vcFrSrYkSUX7jr0NIBfDRw oSN1wjeTrZ9A6QWw8aeqFxXAycV2TkKuJ97uiennjyFkRJFFGx5/IonbphI4Er8CM3RgZ+H2Lxt LJ4M9MaMex9ZXr1kJJywPGvmOAsdoQLXDilY56aU0eUh3dG9/BkqYBn24KyZ1Q02zfgDT6Hhs7I 7N+3yuZNMPwGKdqVEoPq0V1F2H0o6Byy+d6844ugoiwctgqTudMHzUWR4ZqOrBAVgnqxq5kxzVU 6HVv2DySUju29oEsU2u1wVqzUImaMxqCtOp8dz6PjQY3FZR525hPGciG7ApPMrYfpupUFOzX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-09_02,2025-05-08_04,2025-02-21_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 spamscore=0 mlxlogscore=906 bulkscore=0 impostorscore=0 clxscore=1015 suspectscore=0 adultscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2504070000 definitions=main-2505090070 From: Jie Zhang Enable GPU for qcs8300-ride platform and provide path for zap shader. Signed-off-by: Jie Zhang Signed-off-by: Akhil P Oommen Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts index b5c9f89b34356bbf8387643e8702a2a5f50b332f..5f6c6a1f59655bee62ca9ab09c4ee60c1b826a66 100644 --- a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts +++ b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts @@ -285,6 +285,14 @@ queue3 { }; }; +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/qcs8300/a623_zap.mbn"; +}; + &qupv3_id_0 { status = "okay"; };