diff options
author | Mukul Joshi <mukul.joshi@amd.com> | 2022-05-09 16:33:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:42:33 -0400 |
commit | 74c5b85da75475c73a8f040397610fbfcc2c3e78 (patch) | |
tree | 79e2a2cb06636d93aece53a0fa513d9876554b00 /drivers/gpu/drm/amd/include/v9_structs.h | |
parent | 8dc1db3172ae2f17ae71e33b608a33411ce8a1aa (diff) | |
download | linux-74c5b85da75475c73a8f040397610fbfcc2c3e78.tar.gz linux-74c5b85da75475c73a8f040397610fbfcc2c3e78.tar.bz2 linux-74c5b85da75475c73a8f040397610fbfcc2c3e78.zip |
drm/amdkfd: Add spatial partitioning support in KFD
This patch introduces multi-partition support in KFD.
This patch includes:
- Support for maximum 8 spatial partitions in KFD.
- Initialize one HIQ per partition.
- Management of VMID range depending on partition mode.
- Management of doorbell aperture space between all
partitions.
- Each partition does its own queue management, interrupt
handling, SMI event reporting.
- IOMMU, if enabled with multiple partitions, will only work
on first partition.
- SPM is only supported on the first partition.
- Currently, there is no support for resetting individual
partitions. All partitions will reset together.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Tested-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/v9_structs.h')
0 files changed, 0 insertions, 0 deletions