]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/msm/a8xx: Add SKU table for A840
authorAkhil P Oommen <akhilpo@oss.qualcomm.com>
Fri, 27 Mar 2026 00:14:00 +0000 (05:44 +0530)
committerRob Clark <robin.clark@oss.qualcomm.com>
Tue, 31 Mar 2026 20:47:30 +0000 (13:47 -0700)
Add the SKU table in the catalog for A840 GPU. This data helps to pick
the correct bin from the OPP table based on the speed_bin fuse value.

Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/714673/
Message-ID: <20260327-a8xx-gpu-batch2-v2-11-2b53c38d2101@oss.qualcomm.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/adreno/a6xx_catalog.c

index 38561f26837e334c4ed2c0669f4231b1b738b870..f6b9792531a6b2b2c12d9a2b238faf850d5382d6 100644 (file)
@@ -1954,6 +1954,12 @@ static const struct adreno_info a8xx_gpus[] = {
                        },
                },
                .preempt_record_size = 19708 * SZ_1K,
+               .speedbins = ADRENO_SPEEDBINS(
+                       { 0,   0 },
+                       { 273, 1 },
+                       { 252, 2 },
+                       { 221, 3 },
+               ),
        }
 };