drm/amdgpu: Set psp ip block and funcs for v15.0.8

Set psp ip block and funcs for MP0 15.0.8

Signed-off-by: Le Ma <le.ma@amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Le Ma 2025-11-02 18:48:00 +08:00 committed by Alex Deucher
parent 0c24b83d82
commit 41273a8ce3
2 changed files with 7 additions and 0 deletions

View file

@ -2154,6 +2154,9 @@ static int amdgpu_discovery_set_psp_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(14, 0, 5):
amdgpu_device_ip_block_add(adev, &psp_v14_0_ip_block);
break;
case IP_VERSION(15, 0, 8):
amdgpu_device_ip_block_add(adev, &psp_v15_0_8_ip_block);
break;
default:
dev_err(adev->dev,
"Failed to add psp ip block(MP0_HWIP:0x%x)\n",

View file

@ -39,6 +39,7 @@
#include "psp_v13_0.h"
#include "psp_v13_0_4.h"
#include "psp_v14_0.h"
#include "psp_v15_0_8.h"
#include "amdgpu_ras.h"
#include "amdgpu_securedisplay.h"
@ -259,6 +260,9 @@ static int psp_early_init(struct amdgpu_ip_block *ip_block)
psp_v14_0_set_psp_funcs(psp);
psp->boot_time_tmr = false;
break;
case IP_VERSION(15, 0, 8):
psp_v15_0_8_set_psp_funcs(psp);
break;
default:
return -EINVAL;
}