Skip to contentSkip to conversation

drm/amdgpu: disable BACO support on more cards

PATCH In review Guchun Chen 2 participants 3 messages Nov 11, 2022 – Nov 15, 2022

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

PATCH 1/1 drm/amdgpu: disable BACO support on more cards

Otherwise, some unexpected PCIE AER errors will be observed in runtime suspend/resume cycle.

---
 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +4 -0
index 6212fd270857..697e98a0a20a 100644
@@ -379,6 +379,10 @@ static void sienna_cichlid_check_bxco_support(struct smu_context *smu)
 		    ((adev->pdev->device == 0x73BF) &&
 		    (adev->pdev->revision == 0xCF)) ||
 		    ((adev->pdev->device == 0x7422) &&
+		    (adev->pdev->revision == 0x00)) ||
+		    ((adev->pdev->device == 0x73A3) &&
+		    (adev->pdev->revision == 0x00)) ||
+		    ((adev->pdev->device == 0x73E3) &&
 		    (adev->pdev->revision == 0x00)))
 			smu_baco->platform_support = false;
 
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Guchun Chen

Otherwise, some unexpected PCIE AER errors will be observed in runtime suspend/resume cycle.

Please make sure we try and root cause this. I would hate to have to leave this in place for a long time.

Quoted 22 lines
---
 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +4 -1
index 6212fd270857..697e98a0a20a 100644
@@ -379,6 +379,10 @@ static void sienna_cichlid_check_bxco_support(struct smu_context *smu)
                    ((adev->pdev->device == 0x73BF) &&
                    (adev->pdev->revision == 0xCF)) ||
                    ((adev->pdev->device == 0x7422) &&
+                   (adev->pdev->revision == 0x00)) ||
+                   ((adev->pdev->device == 0x73A3) &&
+                   (adev->pdev->revision == 0x00)) ||
+                   ((adev->pdev->device == 0x73E3) &&
                    (adev->pdev->revision == 0x00)))
                        smu_baco->platform_support = false;
 
--

2.25.1

author Acked-by Alex Deucher
#2 lore raw

Yes, Alex, I am trying to get the root cause for this.

Regards,
Guchun

-----Original Message-----
From: Alex Deucher <[email protected]>
Sent: Friday, November 11, 2022 11:38 PM
To: Chen, Guchun <[email protected]>
Cc: [email protected]; Deucher, Alexander <[email protected]>; Zhang, Hawking <[email protected]>; Lazar, Lijo <[email protected]>; Quan, Evan <[email protected]>
Subject: Re: [PATCH] drm/amdgpu: disable BACO support on more cards

Quoted 5 lines · Guchun Chen

Otherwise, some unexpected PCIE AER errors will be observed in runtime suspend/resume cycle.

Please make sure we try and root cause this. I would hate to have to leave this in place for a long time.

Quoted 23 lines
---
 drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c +4 -1
index 6212fd270857..697e98a0a20a 100644
@@ -379,6 +379,10 @@ static void sienna_cichlid_check_bxco_support(struct smu_context *smu)
                    ((adev->pdev->device == 0x73BF) &&
                    (adev->pdev->revision == 0xCF)) ||
                    ((adev->pdev->device == 0x7422) &&
+                   (adev->pdev->revision == 0x00)) ||
+                   ((adev->pdev->device == 0x73A3) &&
+                   (adev->pdev->revision == 0x00)) ||
+                   ((adev->pdev->device == 0x73E3) &&
                    (adev->pdev->revision == 0x00)))
                        smu_baco->platform_support = false;
 
--

2.25.1