diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2023-03-10 15:38:19 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:57:53 -0400 |
commit | ba08e9cb6ff87acdb2f28f013fe695a252533f0e (patch) | |
tree | a98df5b7af57c250b395fa8866dc4554884ffd6e /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
parent | b6b85c8b43a85988ecd06f039f8f90c041842812 (diff) | |
download | linux-ba08e9cb6ff87acdb2f28f013fe695a252533f0e.tar.gz linux-ba08e9cb6ff87acdb2f28f013fe695a252533f0e.tar.bz2 linux-ba08e9cb6ff87acdb2f28f013fe695a252533f0e.zip |
drm/amdgpu: Add PSP spatial parition interface
Add PSP ring command interface for spatial partitioning.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index cf4f60c66122..0a409da749d1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h @@ -519,6 +519,8 @@ int psp_load_fw_list(struct psp_context *psp, struct amdgpu_firmware_info **ucode_list, int ucode_count); void psp_copy_fw(struct psp_context *psp, uint8_t *start_addr, uint32_t bin_size); +int psp_spatial_partition(struct psp_context *psp, int mode); + int is_psp_fw_valid(struct psp_bin_desc bin); int amdgpu_psp_sysfs_init(struct amdgpu_device *adev); |