From patchwork Thu Feb 13 16:10:05 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: 13973569 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 06D0C26B0AE; Thu, 13 Feb 2025 16:10:52 +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=1739463054; cv=none; b=U4GXCJO6IYyIo0EUCE0cRntCx5qVR8WVrtnMdsTvatZDd0HDmS0MumAkVykptICyHYoRY6PY3BWvgwAmG06RZUsDI5uswiseK79LNx/c0VcKWByz5EWPZD9rhV+r7myavBxtXYf0KIgLNWAS2J1gd6rRD8USR2+W8zEFw//AbHc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739463054; c=relaxed/simple; bh=WuR3peFWCiiP4y40/7sn77mVtQotfsJB+UuS/7nLy9g=; h=From:Subject:Date:Message-ID:MIME-Version:Content-Type:To:CC; b=Qth3y6LpKkz/D0oB9HvXCTLiUPyPtZKWtxkyPiHsUCprAD+QEYbhEmwu5vsgYIFMEDuwMsbNYzrarhAwRsSOhz3ihYM0gWzg9a2D3lhtBMgAQVlYtPecZqWMaMkHCaTAwgcEh9RoATZsX7rf3H9JtW7OMLZ7Vrbtidjf3XmQPuQ= 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=eofMLLMH; 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="eofMLLMH" 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 51DAcEbo002191; Thu, 13 Feb 2025 16:10:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=3HL6sl92zaxhx0opG+pobi HfF3pojHqEdIfAEm4d0Hs=; b=eofMLLMHFdQ+yWZbiGxl+ua2DFD8FTd7RSdbec ismgr7VY4LeBSsTozsqibbtA/cRcshm2KIs/chwjXf2RvzZTIHkf/MTOMaCguRam DpTIs6GecLtI3gBNyQXZ5VNszoZVTOpvy+1ieQniFQm7BmQ65EuTmV+u+DEo8mCQ CQbizqVv0SBwkKE6UUJY3ZwGsfp6trlBwWMHzzzvM7iPiplAgPJ/EW4e497dAhxQ gJfoslKeHbXp0C12IzZy68PEkBQek3dJGuZL0oJqx1H6hGe1d7kQexWJivXHa3P4 izI5GPDp0JTJkLtQILurA+Dh9DzWg958ZSsT6v51uc01YHqA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44s5w4a9hk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Feb 2025 16:10:38 +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 51DGAbTg004607 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Feb 2025 16:10:37 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; Thu, 13 Feb 2025 08:10:31 -0800 From: Akhil P Oommen Subject: [PATCH 0/5] EDITME: Support for Adreno 623 GPU Date: Thu, 13 Feb 2025 21:40:05 +0530 Message-ID: <20250213-a623-gpu-support-v1-0-993c65c39fd2@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAF0ZrmcC/02Nyw6DIBQFf4XcdW/DQ4n1VxoXQEFZoBTEmBj/v UQ3Xc5JzswB2SZvM/TkgGQ3n/0yV2APAmZS82jRfyoDp7ylnAlUkgscY8FcYlzSik7KVyepcLp rod5iss7vl/I93Jzst1Tzeo+gVbZolhD82pNNPlmDyXD4T/bkCjLBUDeok5rNhKPbMYdQUFPBJ XtJQWXTby0M5/kDMURev8kAAAA= To: Rob Clark , Sean Paul , "Konrad Dybcio" , Abhinav Kumar , Dmitry Baryshkov , Marijn Suijten , David Airlie , "Simona Vetter" , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson CC: , , , , , Jie Zhang , "Akhil P Oommen" X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1739463031; l=1493; i=quic_akhilpo@quicinc.com; s=20240726; h=from:subject:message-id; bh=WuR3peFWCiiP4y40/7sn77mVtQotfsJB+UuS/7nLy9g=; b=96aU8j1P4fpykQ0YA6UdYOeoBcRwuJwxxNgJcFX8HcKtbk3qJXvvnORjxhU5AsKeL16Ekc/QZ /YLoDXGK50fAPlgTsuCRd84kP1aqzyqep8LnMTi0GvLccxQ+V/P2huX 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: zc7jQoVuuJbv4zusTslYyUk3wiZdWcat X-Proofpoint-ORIG-GUID: zc7jQoVuuJbv4zusTslYyUk3wiZdWcat 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-13_07,2025-02-13_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 phishscore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 suspectscore=0 mlxlogscore=999 priorityscore=1501 adultscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2501170000 definitions=main-2502130118 This series adds support for A623 GPU found in QCS8300 chipsets. This GPU IP is very similar to A621 GPU, except for the UBWC configuration and the GMU firmware. Both DT patches are for Bjorn and rest of the patches for Rob Clark to pick up. --- Jie Zhang (5): drm/msm/a6xx: Fix gpucc register block for A621 drm/msm/a6xx: Add support for Adreno 623 dt-bindings: display/msm/gmu: Add Adreno 623 GMU arm64: dts: qcom: qcs8300: Add gpu and gmu nodes arm64: dts: qcom: qcs8300-ride: Enable Adreno 623 GPU .../devicetree/bindings/display/msm/gmu.yaml | 1 + arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 8 ++ arch/arm64/boot/dts/qcom/qcs8300.dtsi | 93 ++++++++++++++++++++++ drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 29 +++++++ drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 8 ++ drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 13 ++- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h | 17 ++++ drivers/gpu/drm/msm/adreno/adreno_gpu.h | 5 ++ 8 files changed, 171 insertions(+), 3 deletions(-) --- base-commit: 6a25088d268ce4c2163142ead7fe1975bb687cb7 change-id: 20250213-a623-gpu-support-f6698603fb85 prerequisite-change-id: 20250131-b4-branch-gfx-smmu-b03261963064:v5 prerequisite-patch-id: f8fd1a2020c940e595e58a8bd3c55d00d3d87271 prerequisite-patch-id: 08a0540f75b0f95fd2018b38c9ed5c6f96433b4d Best regards,