Skip to contentSkip to conversation

drm/msm/adreno: Fix SM6375 GPU ID

PATCH In review Konrad Dybcio 2 participants 3 messages Aug 25, 2023 – Aug 26, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/msm/adreno: Fix SM6375 GPU ID

SM6375 comes with a patchlevel=1. Fix the chipid up to reflect that.

Fixes 90b593ce1c9e ("drm/msm/adreno: Switch to chip-id for identifying GPU")
---
 drivers/gpu/drm/msm/adreno/adreno_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/adreno/adreno_device.c +1 -1
index 575e7c56219f..f2d9d34ed50f 100644
@@ -331,7 +331,7 @@ static const struct adreno_info gpulist[] = {
 		),
 	}, {
 		.machine = "qcom,sm6375",
-		.chip_ids = ADRENO_CHIP_IDS(0x06010900),
+		.chip_ids = ADRENO_CHIP_IDS(0x06010901),
 		.family = ADRENO_6XX_GEN1,
 		.revn = 619,
 		.fw = {

---
base-commit: 6269320850097903b30be8f07a5c61d9f7592393
change-id: 20230825-topic-6375_gpu_id-cf1596e2b147

Best regards,

Signature · 1 line
Konrad Dybcio <[email protected]>
#1 lore raw
Quoted 14 lines · Konrad Dybcio

SM6375 comes with a patchlevel=1. Fix the chipid up to reflect that.

Fixes 90b593ce1c9e ("drm/msm/adreno: Switch to chip-id for identifying GPU")
---
 drivers/gpu/drm/msm/adreno/adreno_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/adreno/adreno_device.c +0 -0
index 575e7c56219f..f2d9d34ed50f 100644

drivers/gpu/drm/msm/adreno/adreno_device.c static const struct adreno_info gpulist[] = { · line 334

Quoted 5 lines
drivers/gpu/drm/msm/adreno/adreno_device.c +1 -1
@@ -331,7 +331,7 @@ static const struct adreno_info gpulist[] = {
                ),
        }, {
                .machine = "qcom,sm6375",
-               .chip_ids = ADRENO_CHIP_IDS(0x06010900),
+               .chip_ids = ADRENO_CHIP_IDS(0x06010901),

r-b, but maybe we should list both to be safe? But unsure if any patchlevel=0 things are out there in the wild... I guess we could add it back in later if needed

BR,
-

Quoted 12 lines
drivers/gpu/drm/msm/adreno/adreno_device.c +0 -1
                .family = ADRENO_6XX_GEN1,
                .revn = 619,
                .fw = {
 
---

base-commit: 6269320850097903b30be8f07a5c61d9f7592393
change-id: 20230825-topic-6375_gpu_id-cf1596e2b147

Best regards,
--
Konrad Dybcio <[email protected]>

#2 lore raw
Quoted 10 lines · Rob Clark
Quoted 9 lines · Konrad Dybcio

SM6375 comes with a patchlevel=1. Fix the chipid up to reflect that.

Fixes 90b593ce1c9e ("drm/msm/adreno: Switch to chip-id for identifying GPU")
---
 drivers/gpu/drm/msm/adreno/adreno_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines

drivers/gpu/drm/msm/adreno/adreno_device.c static const struct adreno_info gpulist[] = { · line 334

Quoted 10 lines
drivers/gpu/drm/msm/adreno/adreno_device.c +1 -1
index 575e7c56219f..f2d9d34ed50f 100644
@@ -331,7 +331,7 @@ static const struct adreno_info gpulist[] = {
                ),
        }, {
                .machine = "qcom,sm6375",
-               .chip_ids = ADRENO_CHIP_IDS(0x06010900),
+               .chip_ids = ADRENO_CHIP_IDS(0x06010901),

r-b, but maybe we should list both to be safe? But unsure if any patchlevel=0 things are out there in the wild...

AFAICT only 1 for this soc

Konrad

I guess we could add

Quoted 17 lines

it back in later if needed

BR,
-

Quoted 12 lines
drivers/gpu/drm/msm/adreno/adreno_device.c +0 -1
                .family = ADRENO_6XX_GEN1,
                .revn = 619,
                .fw = {
 
---

base-commit: 6269320850097903b30be8f07a5c61d9f7592393
change-id: 20230825-topic-6375_gpu_id-cf1596e2b147

Best regards,
--
Konrad Dybcio <[email protected]>