artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3333158
)
drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
author
jsg
<jsg@openbsd.org>
Mon, 3 Oct 2022 11:48:47 +0000
(11:48 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 3 Oct 2022 11:48:47 +0000
(11:48 +0000)
From Guchun Chen
f76d6f309a685d24a32703b4d5c5a71e76f4b793
in linux 5.15.y/5.15.71
7c6fb61a400bf3218c6504cb2d48858f98822c9d
in mainline linux
sys/dev/pci/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
b/sys/dev/pci/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
index
628f896
..
0e49900
100644
(file)
--- a/
sys/dev/pci/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
+++ b/
sys/dev/pci/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
@@
-358,6
+358,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;
+
}
}