For ASIC with MP1_HWIP IP_VERSION(13, 0, 12), enable firmware managed EEPROM
Signed-off-by: Ce Sun <[email protected]> --- drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c b/drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c index fe0e35357af1..cd332fc267be 100644 --- a/drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c +++ b/drivers/gpu/drm/amd/ras/core/ras_eeprom_mgr.c @@ -40,11 +40,10 @@ static const struct ras_eeprom_ops *ras_eeprom_mgr_get_ip_func( switch (ip_version) { case IP_VERSION(13, 0, 6): case IP_VERSION(13, 0, 14): - case IP_VERSION(13, 0, 12): - case IP_VERSION(13, 0, 15): mgr->eeprom_early_init_service_supported = false; return &ras_drv_eeprom_ops; case IP_VERSION(15, 0, 8): + case IP_VERSION(13, 0, 12): mgr->eeprom_early_init_service_supported = true; mgr->fw_record_enabled = true; return &ras_fw_eeprom_ops; -- 2.34.1
