]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu : Update psp 13_0_15 ip block support
authorMangesh Gadre <Mangesh.Gadre@amd.com>
Sun, 1 Mar 2026 15:19:13 +0000 (15:19 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Mar 2026 21:46:41 +0000 (17:46 -0400)
Included psp_13_0_15 ip block for RAS

Signed-off-by: Mangesh Gadre <Mangesh.Gadre@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

index 741d1919ef8887dfd83cff9794ee424f073fdf8a..6edcb771329930d40bb0b5f12088e15547fbf466 100644 (file)
@@ -2250,6 +2250,7 @@ static bool amdgpu_ras_aca_is_supported(struct amdgpu_device *adev)
        case IP_VERSION(13, 0, 6):
        case IP_VERSION(13, 0, 12):
        case IP_VERSION(13, 0, 14):
+       case IP_VERSION(13, 0, 15):
                ret = true;
                break;
        default:
@@ -4000,6 +4001,7 @@ static bool amdgpu_ras_asic_supported(struct amdgpu_device *adev)
                case IP_VERSION(13, 0, 6):
                case IP_VERSION(13, 0, 12):
                case IP_VERSION(13, 0, 14):
+               case IP_VERSION(13, 0, 15):
                        return true;
                default:
                        return false;
@@ -4013,6 +4015,7 @@ static bool amdgpu_ras_asic_supported(struct amdgpu_device *adev)
                case IP_VERSION(13, 0, 10):
                case IP_VERSION(13, 0, 12):
                case IP_VERSION(13, 0, 14):
+               case IP_VERSION(13, 0, 15):
                case IP_VERSION(14, 0, 3):
                        return true;
                default:
@@ -4182,7 +4185,8 @@ init_ras_enabled_flag:
                adev->aca.is_enabled =
                        (amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 6) ||
                        amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 12) ||
-                       amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 14));
+                       amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 14) ||
+                       amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 15));
        }
 
        /* bad page feature is not applicable to specific app platform */
@@ -4270,6 +4274,7 @@ static void amdgpu_ras_init_reserved_vram_size(struct amdgpu_device *adev)
        case IP_VERSION(13, 0, 2):
        case IP_VERSION(13, 0, 6):
        case IP_VERSION(13, 0, 12):
+       case IP_VERSION(13, 0, 15):
                con->reserved_pages_in_bytes = AMDGPU_RAS_RESERVED_VRAM_SIZE_DEFAULT;
                break;
        case IP_VERSION(13, 0, 14):