artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38f130
)
drm/amdgpu: Add I2C EEPROM support on smu v13_0_6
author
jsg
<jsg@openbsd.org>
Thu, 14 Dec 2023 05:36:31 +0000
(
05:36
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 14 Dec 2023 05:36:31 +0000
(
05:36
+0000)
From Candice Li
87509778718cffdee6412f0d39713f883208a013
in linux-6.1.y/6.1.68
b81fde0dfe402e864ef1ac506eba756c89f1ad32
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
8de7e24
..
2c22c16
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
@@
-112,6
+112,7
@@
static bool __is_ras_eeprom_supported(struct amdgpu_device *adev)
case IP_VERSION(11, 0, 7): /* Sienna cichlid */
case IP_VERSION(13, 0, 0):
case IP_VERSION(13, 0, 2): /* Aldebaran */
+ case IP_VERSION(13, 0, 6):
case IP_VERSION(13, 0, 10):
return true;
default:
@@
-176,6
+177,7
@@
static bool __get_eeprom_i2c_addr(struct amdgpu_device *adev,
#endif
return true;
case IP_VERSION(13, 0, 0):
+ case IP_VERSION(13, 0, 6):
case IP_VERSION(13, 0, 10):
control->i2c_address = EEPROM_I2C_MADDR_4;
return true;