Skip to content

Commit

Permalink
drm/amd/pm: disable BACO entry/exit completely on several sienna cich…
Browse files Browse the repository at this point in the history
…lid cards

To avoid hardware intermittent failures.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
(cherry picked from commit b87a539)

Change-Id: I4aec7dc196477799578eafde0dd690594716f862
  • Loading branch information
Guchun Chen authored and Alexandru Tudor committed Sep 19, 2022
1 parent 93cd6ba commit 9d4e3b4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,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;

}
}

Expand Down

0 comments on commit 9d4e3b4

Please sign in to comment.