drm/amdgpu: add checks if DMA-buf P2P is supported
authorChristian König <christian.koenig@amd.com>
Fri, 23 Mar 2018 15:33:57 +0000 (16:33 +0100)
committerChristian König <christian.koenig@amd.com>
Wed, 1 Apr 2020 07:02:45 +0000 (09:02 +0200)
commit48262cd9499c9cd0faf687ef9427cc0b0a3b0189
tree614c274e3d153620b8be71a4a1894edd864a5647
parent57b7b62f5a7436fbe5c190c5c8960121d0b9041d
drm/amdgpu: add checks if DMA-buf P2P is supported

Check if we can do peer2peer on the PCIe bus.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/359294
drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c