Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Le Ma and committed by
Alex Deucher
41273a8c 0c24b83d

+7
+3
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
··· 2154 2154 case IP_VERSION(14, 0, 5): 2155 2155 amdgpu_device_ip_block_add(adev, &psp_v14_0_ip_block); 2156 2156 break; 2157 + case IP_VERSION(15, 0, 8): 2158 + amdgpu_device_ip_block_add(adev, &psp_v15_0_8_ip_block); 2159 + break; 2157 2160 default: 2158 2161 dev_err(adev->dev, 2159 2162 "Failed to add psp ip block(MP0_HWIP:0x%x)\n",
+4
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
··· 39 39 #include "psp_v13_0.h" 40 40 #include "psp_v13_0_4.h" 41 41 #include "psp_v14_0.h" 42 + #include "psp_v15_0_8.h" 42 43 43 44 #include "amdgpu_ras.h" 44 45 #include "amdgpu_securedisplay.h" ··· 259 258 case IP_VERSION(14, 0, 5): 260 259 psp_v14_0_set_psp_funcs(psp); 261 260 psp->boot_time_tmr = false; 261 + break; 262 + case IP_VERSION(15, 0, 8): 263 + psp_v15_0_8_set_psp_funcs(psp); 262 264 break; 263 265 default: 264 266 return -EINVAL;