Skip to contentSkip to conversation

drm/amdgpu: disable BACO on special BEIGE_GOBY card

PATCH In review Guchun Chen 3 participants 3 messages Nov 7, 2022

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

PATCH 1/1 drm/amdgpu: disable BACO on special BEIGE_GOBY card

Still avoid intermittent failure.

---
 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +3 -1
index 74996a8fb671..c9e0be9bb180 100644
@@ -377,7 +377,9 @@ static void sienna_cichlid_check_bxco_support(struct smu_context *smu)
 		if (((adev->pdev->device == 0x73A1) &&
 		    (adev->pdev->revision == 0x00)) ||
 		    ((adev->pdev->device == 0x73BF) &&
-		    (adev->pdev->revision == 0xCF)))
+		    (adev->pdev->revision == 0xCF)) ||
+		    ((adev->pdev->device == 0x7422) &&
+                    (adev->pdev->revision == 0x00)))
 			smu_baco->platform_support = false;
 
 	}
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw

[AMD Official Use Only - General]

Quoted 36 lines

-----Original Message-----
From: Chen, Guchun <[email protected]>
Sent: Monday, November 7, 2022 4:50 PM
To: [email protected]; Deucher, Alexander <[email protected]>; Zhang, Hawking <[email protected]>; Lazar, Lijo <[email protected]>; Quan, Evan <[email protected]>
Cc: Chen, Guchun <[email protected]>
Subject: [PATCH] drm/amdgpu: disable BACO on special BEIGE_GOBY card

Still avoid intermittent failure.

---
 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +3 -1
index 74996a8fb671..c9e0be9bb180 100644
@@ -377,7 +377,9 @@ static void sienna_cichlid_check_bxco_support(struct
 smu_context *smu)
 		if (((adev->pdev->device == 0x73A1) &&
 		    (adev->pdev->revision == 0x00)) ||
 		    ((adev->pdev->device == 0x73BF) &&
-		    (adev->pdev->revision == 0xCF)))
+		    (adev->pdev->revision == 0xCF)) ||
+		    ((adev->pdev->device == 0x7422) &&
+                    (adev->pdev->revision == 0x00)))
 			smu_baco->platform_support = false;
 

}
--
2.25.1

Reviewed-by on v1 1/1
#2 lore raw
In reply to Guchun Chen
Quoted 3 lines · Guchun Chen

Still avoid intermittent failure.

Thanks,
Lijo

Quoted 19 lines
---
  drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +3 -1
index 74996a8fb671..c9e0be9bb180 100644
@@ -377,7 +377,9 @@ static void sienna_cichlid_check_bxco_support(struct smu_context *smu)
  		if (((adev->pdev->device == 0x73A1) &&
  		    (adev->pdev->revision == 0x00)) ||
  		    ((adev->pdev->device == 0x73BF) &&
-		    (adev->pdev->revision == 0xCF)))
+		    (adev->pdev->revision == 0xCF)) ||
+		    ((adev->pdev->device == 0x7422) &&
+                    (adev->pdev->revision == 0x00)))
  			smu_baco->platform_support = false;
 
  	}