]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/ras: Add more IP versions for uniras
authorCe Sun <cesun102@amd.com>
Mon, 18 May 2026 07:01:52 +0000 (15:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 May 2026 15:51:47 +0000 (11:51 -0400)
Add more IP versions for uniras

Signed-off-by: Ce Sun <cesun102@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_mgr.c

index ad8862d43263caf6d6ee4be2294c57eb3a629b7d..79976e322b556dc17e674772f8b97a50342980fc 100644 (file)
@@ -291,6 +291,8 @@ static int amdgpu_ras_mgr_sw_init(struct amdgpu_ip_block *ip_block)
        con->uniras_enabled = false;
 
        if (amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 14) ||
+           amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 12) ||
+           amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 6) ||
            adev->debug_enable_ras_aca)
                con->uniras_enabled = true;
        else