]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
authorGuchun Chen <guchun.chen@amd.com>
Wed, 7 Sep 2022 12:31:36 +0000 (20:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 16:54:22 +0000 (12:54 -0400)
To avoid hardware intermittent failures.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c

index 7ed4d4265797e4d5d0ef8fdb3449a25aa4ae2c54..74996a8fb67122de87e8f5238e92635e293fa8b0 100644 (file)
@@ -369,6 +369,17 @@ static void sienna_cichlid_check_bxco_support(struct smu_context *smu)
                smu_baco->platform_support =
                        (val & RCC_BIF_STRAP0__STRAP_PX_CAPABLE_MASK) ? true :
                                                                        false;
+
+               /*
+                * Disable BACO entry/exit completely on below SKUs to
+                * avoid hardware intermittent failures.
+                */
+               if (((adev->pdev->device == 0x73A1) &&
+                   (adev->pdev->revision == 0x00)) ||
+                   ((adev->pdev->device == 0x73BF) &&
+                   (adev->pdev->revision == 0xCF)))
+                       smu_baco->platform_support = false;
+
        }
 }