]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/ras: ras supports i2c eeprom for mp1 v13_0_12
authorYiPeng Chai <YiPeng.Chai@amd.com>
Tue, 4 Nov 2025 12:07:58 +0000 (20:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Nov 2025 14:57:07 +0000 (09:57 -0500)
ras supports i2c eeprom for mp1 v13_0_12.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/ras/ras_mgr/amdgpu_ras_eeprom_i2c.c

index 1bb7b7001ec7ea1e3c6ce9fdff7470efd8418d71..3ed3ff42b7e14bdbd5b47bf8253b56736da78fbf 100644 (file)
@@ -85,6 +85,7 @@ static int ras_eeprom_i2c_config(struct ras_core_context *ras_core)
        case IP_VERSION(13, 0, 5):
        case IP_VERSION(13, 0, 6):
        case IP_VERSION(13, 0, 10):
+       case IP_VERSION(13, 0, 12):
        case IP_VERSION(13, 0, 14):
                control->i2c_address = EEPROM_I2C_MADDR_4;
                return 0;