]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: support psp ip block discovery for psp v14
authorLikun Gao <Likun.Gao@amd.com>
Thu, 10 Aug 2023 07:16:05 +0000 (15:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Feb 2024 22:18:27 +0000 (17:18 -0500)
Support PSP ip block discovery for psp v14.
Add psp ip block for psp v14_0_2 and v14_0_3.

Signed-off-by: Likun Gao <Likun.Gao@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_discovery.c

index fd88acd4785b71d311471033ef423cdc8b420e18..c8434da178570b17dad5ff17ec18f910333e4a6a 100644 (file)
@@ -1829,6 +1829,10 @@ static int amdgpu_discovery_set_psp_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(13, 0, 4):
                amdgpu_device_ip_block_add(adev, &psp_v13_0_4_ip_block);
                break;
+       case IP_VERSION(14, 0, 2):
+       case IP_VERSION(14, 0, 3):
+               amdgpu_device_ip_block_add(adev, &psp_v14_0_ip_block);
+               break;
        default:
                dev_err(adev->dev,
                        "Failed to add psp ip block(MP0_HWIP:0x%x)\n",