From: Christian König Date: Thu, 22 Mar 2018 18:21:30 +0000 (+0100) Subject: drm/amdgpu: note that we can handle peer2peer DMA-buf X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=57b7b62f5a7436fbe5c190c5c8960121d0b9041d;p=linux.git drm/amdgpu: note that we can handle peer2peer DMA-buf Importing should work out of the box. Signed-off-by: Christian König Acked-by: Daniel Vetter Acked-by: Sumit Semwal Link: https://patchwork.freedesktop.org/patch/359293 --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c index ffeb20f11c07c..aef12ee2f1e32 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c @@ -514,6 +514,7 @@ amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach) } static const struct dma_buf_attach_ops amdgpu_dma_buf_attach_ops = { + .allow_peer2peer = true, .move_notify = amdgpu_dma_buf_move_notify };