Support I2C EEPROM on smu v13_0_6.
Signed-off-by: Candice Li <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
index 4287743e121245..27fb9b640011c2 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
@@ -159,6 +159,7 @@ static bool __is_ras_eeprom_supported(struct amdgpu_device
*adev)
case IP_VERSION(13, 0, 0):
case IP_VERSION(13, 0, 2): /* Aldebaran */
case IP_VERSION(13, 0, 10):
+ case IP_VERSION(13, 0, 6):
return true;
default:
return false;
@@ -213,6 +214,7 @@ static bool __get_eeprom_i2c_addr(struct amdgpu_device
*adev,
return true;
case IP_VERSION(13, 0, 0):
case IP_VERSION(13, 0, 10):
+ case IP_VERSION(13, 0, 6):
control->i2c_address = EEPROM_I2C_MADDR_4;
return true;
default:
--
2.25.1