]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/msm/a2xx: add A225 entry to catalog
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 21 Nov 2025 16:13:04 +0000 (18:13 +0200)
committerRob Clark <robin.clark@oss.qualcomm.com>
Sun, 18 Jan 2026 15:20:43 +0000 (07:20 -0800)
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 <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/689908/
Message-ID: <20251121-a225-v1-2-a1bab651d186@oss.qualcomm.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/adreno/a2xx_catalog.c

index e9dbf3ddf89e484fac8a0267291f708b485c9aae..c1389578e73942b9d2423cc79ad982c40184b44f 100644 (file)
@@ -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);