]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/msm/adreno: Add speedbin support for X1-85
authorAkhil P Oommen <akhilpo@oss.qualcomm.com>
Tue, 1 Jul 2025 16:20:44 +0000 (21:50 +0530)
committerRob Clark <robin.clark@oss.qualcomm.com>
Fri, 4 Jul 2025 18:09:43 +0000 (11:09 -0700)
Add the speedbin table to the X1-85's entry in the catalogue to
enable SKU detection.

Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/661837/
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/adreno/a6xx_catalog.c

index 70f7ad806c34076352d84f32d62c2833422b6e5e..301181138b60a3edb7f28c72d2908b3cf7f6a183 100644 (file)
@@ -1442,6 +1442,13 @@ static const struct adreno_info a7xx_gpus[] = {
                        .gmu_cgc_mode = 0x00020202,
                },
                .preempt_record_size = 4192 * SZ_1K,
+               .speedbins = ADRENO_SPEEDBINS(
+                       { 0,    0 },
+                       { 59,   1 },
+                       { 7,    2 },
+                       { 232,  3 },
+                       { 146,  4 },
+               ),
        }, {
                .chip_ids = ADRENO_CHIP_IDS(0x43051401), /* "C520v2" */
                .family = ADRENO_7XX_GEN3,