From patchwork Wed Aug 28 15:06:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13781410 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 78E0D19FA94; Wed, 28 Aug 2024 15:07:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724857630; cv=none; b=lXB7cx6n910KpkL82TZbSbVvZJGitfxqzvEgNxiJlcmwgikj4oXSPrSkgRfucQHhKiLZFM2FQtZM7ixIfJbuFoSz3FpqwQIEtdEHD9Iq0UNsNZZnoS69aIxQF9Q7Pef3hd24xwwnpQWMXeweeVBKCgz/E8nnSdohECOzuTG/7HI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724857630; c=relaxed/simple; bh=Y/T51qG5H9yIxtDfRozOi8msshjZ7I3edVl1HlTN04Q=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=uRFaupXmWtHj16T4xgsOSVC/+mlir33O4cPekvDBxxt4MMtmeojZiXB2C2bjVrd10y37FwxBxx8eMU5MrNRM2ypZYQv7u3qkrl3e7CDqT/BZ+e+/vj3Z+SaH4PB+AzYoar5+0PKQTUyTMS9Cahwe9H1JbAgPXTenHCz3ZC+X+jw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U1XMF6An; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U1XMF6An" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83A00C4CEC1; Wed, 28 Aug 2024 15:07:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1724857630; bh=Y/T51qG5H9yIxtDfRozOi8msshjZ7I3edVl1HlTN04Q=; h=From:Subject:Date:To:Cc:From; b=U1XMF6AnRX6lN1XO8k2+y4BYmXzcewRljhgmwEI5ZNSsmdAQBF8+KY/MUT05+z57n J5jDipbg0+R8rdstgE7lcXI2iZOo2pgsSsQTGD3SFWzOnGaQYZeiEecwJ9Y+U0BC6V ls6pGbwqbAUZFdzErKEoF+ch8g/Apwl9Kk2OaGPtKtqtwAgcypBZF5ePShlWImn+TB CogqibmbjbhonX20OIhU0cKMdIj7hyhMMmuYqe8rWTA/qXCJpX2upSSoAVVbnl6Iwe GPzhMsIdLVLJVuDv6GRF1mZcrZtDrhL1vH6h02TpyWTBOUkdr9ZBIFe2BKvhD56rYE 3wuxm9Rd0NcdQ== From: Konrad Dybcio Subject: [PATCH v2 0/6] A621 support Date: Wed, 28 Aug 2024 17:06:53 +0200 Message-Id: <20240828-topic-a621-v2-0-1882c6b57432@kernel.org> 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=H4sIAA09z2YC/23MQQ6DIBCF4auYWZcGEIq66j0aF0gHnaQRA4a0M dy91HWX/0ved0DCSJhgaA6ImClRWGvISwNuseuMjJ61QXKpuBE928NGjtmbFGzS2LXe9JPyBup hi+jpfWKPsfZCaQ/xc9pZ/Na/TBaMs05zi7rlxnl1f9FqY7iGOMNYSvkCxw/2VaUAAAA= To: Rob Clark , Sean Paul , Abhinav Kumar , Dmitry Baryshkov , David Airlie , Daniel Vetter , Konrad Dybcio Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1724857626; l=1221; i=konradybcio@kernel.org; s=20230215; h=from:subject:message-id; bh=Y/T51qG5H9yIxtDfRozOi8msshjZ7I3edVl1HlTN04Q=; b=V5k3zIxDNNV7Xvipbj8sgjaMITiUh2cdnRDVFJfMJtmyWATqqntlFpJgmhTzGJ1qfsKt3lpEM M4VQdNWBVqBBA/2KvTDgkJRdnpdbPMqgjSMBwZVMRfxnzdiJ0fxudsh X-Developer-Key: i=konradybcio@kernel.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Baby A650, needs mesa mr !30253 (or better) Signed-off-by: Konrad Dybcio --- Changes in v2: - Split up the gmu_cgc_mode patches more sensibly and write better commit messages - Link to v1: https://lore.kernel.org/r/20240719-topic-a621-v1-0-850ae5307cf4@linaro.org --- Konrad Dybcio (6): drm/msm/a6xx: Evaluate adreno_is_a650_family in pdc_in_aop check drm/msm/a6xx: Store primFifoThreshold in struct a6xx_info drm/msm/a6xx: Store correct gmu_cgc_mode in struct a6xx_info drm/msm/a6xx: Use the per-GPU value for gmu_cgc_mode drm/msm/a6xx: Set GMU CGC properties on a6xx too drm/msm/a6xx: Add A621 support drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 111 +++++++++++++++++++++++++++++- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 21 +++++- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 52 ++++++-------- drivers/gpu/drm/msm/adreno/a6xx_gpu.h | 2 + drivers/gpu/drm/msm/adreno/adreno_gpu.h | 13 +++- 5 files changed, 164 insertions(+), 35 deletions(-) --- base-commit: 1019b7d66e8c015b2497edb64e6a2a5fd9d2aa24 change-id: 20240719-topic-a621-b5e83f79b4f7 Best regards,