Skip to content

Commit 57b7b62

Browse files
drm/amdgpu: note that we can handle peer2peer DMA-buf
Importing should work out of the box. Signed-off-by: Christian König <[email protected]> Acked-by: Daniel Vetter <[email protected]> Acked-by: Sumit Semwal <[email protected]> Link: https://patchwork.freedesktop.org/patch/359293
1 parent efa557b commit 57b7b62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ amdgpu_dma_buf_move_notify(struct dma_buf_attachment *attach)
514514
}
515515

516516
static const struct dma_buf_attach_ops amdgpu_dma_buf_attach_ops = {
517+
.allow_peer2peer = true,
517518
.move_notify = amdgpu_dma_buf_move_notify
518519
};
519520

0 commit comments

Comments
 (0)