]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Enable P2P dmabuf over XGMI
authorArunpravin <apaneers@amd.com>
Thu, 6 Aug 2020 09:04:33 +0000 (14:34 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Aug 2020 15:47:35 +0000 (11:47 -0400)
commit389144fde1cb5a26757fb47b9144df25e10e536e
tree73d4641e7a16e0292f7ea953e5a508f361ad1573
parent6364f28cf6736a39208437e89525b902d0a46952
drm/amdgpu: Enable P2P dmabuf over XGMI

Access the exported P2P dmabuf over XGMI, if available.
Otherwise, fall back to the existing PCIe method.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Arunpravin <apaneers@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c