drm/amdgpu: Add peer-to-peer support among PCIe connected AMD GPUs
authorRamesh Errabolu <Ramesh.Errabolu@amd.com>
Thu, 26 May 2022 17:24:23 +0000 (12:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jun 2022 15:40:12 +0000 (11:40 -0400)
commit08a2fd23c6c21e5ef24248a9c1b09e929655eb3b
tree5de8e5e2839cdc06bbc40c9e87fec3d92a99b1c3
parent6fbfc3a23c98bdcda679161c4f4e31368008af8a
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c