diff options
author | Ramesh Errabolu <Ramesh.Errabolu@amd.com> | 2022-05-26 12:24:23 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-08 11:40:12 -0400 |
commit | 08a2fd23c6c21e5ef24248a9c1b09e929655eb3b (patch) | |
tree | 5de8e5e2839cdc06bbc40c9e87fec3d92a99b1c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | |
parent | 6fbfc3a23c98bdcda679161c4f4e31368008af8a (diff) | |
download | linux-08a2fd23c6c21e5ef24248a9c1b09e929655eb3b.tar.gz linux-08a2fd23c6c21e5ef24248a9c1b09e929655eb3b.tar.bz2 linux-08a2fd23c6c21e5ef24248a9c1b09e929655eb3b.zip |
drm/amdgpu: Add peer-to-peer support among PCIe connected AMD GPUs
Add support for peer-to-peer communication among AMD GPUs over PCIe
bus. Support REQUIRES enablement of config HSA_AMD_P2P.
Signed-off-by: Ramesh Errabolu <Ramesh.Errabolu@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/amdgpu/amdgpu_amdkfd.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h index f8b9f27adcf5..5c00ea1df21c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h @@ -48,6 +48,7 @@ enum kfd_mem_attachment_type { KFD_MEM_ATT_SHARED, /* Share kgd_mem->bo or another attachment's */ KFD_MEM_ATT_USERPTR, /* SG bo to DMA map pages from a userptr bo */ KFD_MEM_ATT_DMABUF, /* DMAbuf to DMA map TTM BOs */ + KFD_MEM_ATT_SG /* Tag to DMA map SG BOs */ }; struct kfd_mem_attachment { |