artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75aeac0
)
drm/amdgpu: Update ras eeprom support for smu v13_0_0 and v13_0_10
author
jsg
<jsg@openbsd.org>
Thu, 14 Dec 2023 05:20:52 +0000
(
05:20
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 14 Dec 2023 05:20:52 +0000
(
05:20
+0000)
From Candice Li
f549f837b9aca23983540fc6498e19eee8b3073a
in linux-6.1.y/6.1.68
bc22f8ec464af9e14263c3ed6a1c2be86618c804
in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
b/sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
index
9c2ef59
..
1b615c0
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
@@
-90,6
+90,16
@@
static bool __is_ras_eeprom_supported(struct amdgpu_device *adev)
{
+ if (adev->asic_type == CHIP_IP_DISCOVERY) {
+ switch (adev->ip_versions[MP1_HWIP][0]) {
+ case IP_VERSION(13, 0, 0):
+ case IP_VERSION(13, 0, 10):
+ return true;
+ default:
+ return false;
+ }
+ }
+
return adev->asic_type == CHIP_VEGA20 ||
adev->asic_type == CHIP_ARCTURUS ||
adev->asic_type == CHIP_SIENNA_CICHLID ||