From patchwork Mon Nov 25 16:32:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akhil P Oommen X-Patchwork-Id: 13885137 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 49B7FD58D66 for ; Mon, 25 Nov 2024 16:33:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C6F1C10E6B1; Mon, 25 Nov 2024 16:33:36 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=quicinc.com header.i=@quicinc.com header.b="mBKi96uU"; dkim-atps=neutral Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8BA1E10E6AD; Mon, 25 Nov 2024 16:33:35 +0000 (UTC) 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 4APAiYId021756; Mon, 25 Nov 2024 16:33:30 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=DNV8aShfwdMG0hhjEk7lLQ 0CVQ8Nl+SDaaMKfGPMOlA=; b=mBKi96uUxvAkBn07aAURx+FAHdioBwviBHDj+j Gh2QrTPpZ7G0JM+TkF8v/SBe0N+TT5nZ/b37hdtjqQJxWXCvOejNBCtMi/QdidBB BJPGYnZ6Gb/jNC47NtGSzVsB1U5fuAa07A0uYzZ0Gex2IhOYIulbmOwBDtcs/zIS CHz50MYYw+FQAfxQouXnNkEnLEPQ28hsxFXHM+nju/T+EoEQSdpCiZx+nJ7k4vYn t5/fA6TvxsIytOvYJGHFGKtyMe7wrmfLcXpPLF+tK36eF627QCmdfpQEd3VxHSqQ c4eczdf273S865adNr1xVSDx9gOrF8ahBlATdt7yledKb9KA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4334rd5ptw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Nov 2024 16:33: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 4APGXTVN025775 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Nov 2024 16:33: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; Mon, 25 Nov 2024 08:33:25 -0800 From: Akhil P Oommen Subject: [PATCH v2 0/2] Support for Adreno 612 GPU Date: Mon, 25 Nov 2024 22:02:59 +0530 Message-ID: <20241125-a612-gpu-support-v2-0-b7cc38e60191@quicinc.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIALumRGcC/22OOw6DMBBEr4K2zkZeQM6nyj0iCsBrcGEgtkFEi LvHmDbljPTmzQaenWEPz2wDx4vxZhxiyC8ZtH09dIxGxQy5yEsSBWEtKcdumtHP0zS6gEoWhdB 0U4I0RGxyrM2aJt/VmR1/5rgczhKa2jO2o7UmPDPlLFpvceA14GFBIhQlHGhvfBjdN51bKLHpB 4k/PxZCwkZpvmupHoWQryhtzdBeowqqfd9/hUlykO0AAAA= To: Rob Clark , Sean Paul , "Konrad Dybcio" , Abhinav Kumar , Dmitry Baryshkov , Marijn Suijten , David Airlie , "Simona Vetter" CC: , , , , "Akhil P Oommen" , Jie Zhang , "Konrad Dybcio" X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1732552405; l=1280; i=quic_akhilpo@quicinc.com; s=20240726; h=from:subject:message-id; bh=yafn+AyZe5YLNXnSSxWeZ5fEOk7gllMrldSy3aktjx8=; b=qnm1VswaLeegwwJS1f37Bps4/tf1LpEnpifXetMjiAwdlF4VHm80+mIydQTlyA+oZmw1S07sW d/+kBACUXO3DLNxS3apJHAESqtXtnGYHACovId91/iA//9wg5vuZlWi X-Developer-Key: i=quic_akhilpo@quicinc.com; a=ed25519; pk=lmVtttSHmAUYFnJsQHX80IIRmYmXA4+CzpGcWOOsfKA= X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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-ORIG-GUID: md_ugEhDxX_3N6ht_tWc3PgGj4mxIK0- X-Proofpoint-GUID: md_ugEhDxX_3N6ht_tWc3PgGj4mxIK0- 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 lowpriorityscore=0 bulkscore=0 clxscore=1015 suspectscore=0 priorityscore=1501 malwarescore=0 spamscore=0 adultscore=0 impostorscore=0 phishscore=0 mlxlogscore=724 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411250138 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Mesa support is already available for A612. Verified Glmark2 with weston. Some dependencies for the devicetree change are not yet available in the mailing lists. I will send it out as a separate patch later. In v2 of this series, there is a new patch to check the LLC support by using a new QUIRK flag. This is required now because A612 is the first gpu which has gmu_wrapper along with LLC support. --- Changes in v2: - Added a new quirk to check LLC support (new patch). This helps to correct LLC handling in A612's patch. - Rebased on msm-next tip - Captured R-b from Konrad - Link to v1: https://lore.kernel.org/r/20241101-a612-gpu-support-v1-1-bdfe8f6d9306@quicinc.com --- Akhil P Oommen (1): drm/msm/adreno: Introduce ADRENO_QUIRK_NO_SYSCACHE Jie Zhang (1): drm/msm/a6xx: Add support for Adreno 612 drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 18 ++++++++++++- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 42 ++++++++++++++++++++----------- drivers/gpu/drm/msm/adreno/adreno_gpu.h | 12 ++++++--- 3 files changed, 54 insertions(+), 18 deletions(-) --- base-commit: f4a867a46862c1743501bbe8c813238456ec8699 change-id: 20241031-a612-gpu-support-d6330f17d01f Best regards,