artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b722857
)
drm/amdgpu: Remove second moot switch to set EEPROM I2C address
author
jsg
<jsg@openbsd.org>
Thu, 14 Dec 2023 05:31:54 +0000
(
05:31
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 14 Dec 2023 05:31:54 +0000
(
05:31
+0000)
From Luben Tuikov
a3049c9a30131639f056a2b3db934c70ff91068a
in linux-6.1.y/6.1.68
1bb745d7596d2b368fd9afb90473f3581495e39d
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
4356873
..
aeebae6
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
+++ b/
sys/dev/pci/drm/amd/amdgpu/amdgpu_ras_eeprom.c
@@
-214,15
+214,6
@@
static bool __get_eeprom_i2c_addr(struct amdgpu_device *adev,
return false;
}
- switch (adev->ip_versions[MP1_HWIP][0]) {
- case IP_VERSION(13, 0, 0):
- control->i2c_address = EEPROM_I2C_MADDR_4;
- break;
-
- default:
- break;
- }
-
return true;
}