From 5b6f6a76e0b8908d7071cd7d83bd8fb12f38990e Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Fri, 21 Nov 2025 18:13:04 +0200 Subject: [PATCH] drm/msm/a2xx: add A225 entry to catalog Add catalog entry for Adreno A225.6 as present on MSM8960v3. Most of the pieces were already contributed by Jonathan Marek in commit 21af872cd8c6 ("drm/msm/adreno: add a2xx"), but weren't enabled because there was no GPU entry. Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio Patchwork: https://patchwork.freedesktop.org/patch/689908/ Message-ID: <20251121-a225-v1-2-a1bab651d186@oss.qualcomm.com> Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a2xx_catalog.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/msm/adreno/a2xx_catalog.c b/drivers/gpu/drm/msm/adreno/a2xx_catalog.c index e9dbf3ddf89e4..c1389578e7394 100644 --- a/drivers/gpu/drm/msm/adreno/a2xx_catalog.c +++ b/drivers/gpu/drm/msm/adreno/a2xx_catalog.c @@ -43,6 +43,18 @@ static const struct adreno_info a2xx_gpus[] = { .gmem = SZ_512K, .inactive_period = DRM_MSM_INACTIVE_PERIOD, .funcs = &a2xx_gpu_funcs, + }, { + /* Only for msm8960v3, v2 required a special firmware */ + .chip_ids = ADRENO_CHIP_IDS(0x02020506), + .family = ADRENO_2XX_GEN2, + .revn = 225, + .fw = { + [ADRENO_FW_PM4] = "a225_pm4.fw", + [ADRENO_FW_PFP] = "a225_pfp.fw", + }, + .gmem = SZ_512K, + .inactive_period = DRM_MSM_INACTIVE_PERIOD, + .funcs = &a2xx_gpu_funcs, } }; DECLARE_ADRENO_GPULIST(a2xx); -- 2.47.3