diff options
author | Christian König <christian.koenig@amd.com> | 2018-03-22 21:21:30 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-04-01 10:02:45 +0300 |
commit | 57b7b62f5a7436fbe5c190c5c8960121d0b9041d (patch) | |
tree | 46958076e2c964fb2b12493a9499a64430f43004 /drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | |
parent | efa557bc7c8118330d47b814edb88949f5159442 (diff) | |
download | linux-57b7b62f5a7436fbe5c190c5c8960121d0b9041d.tar.xz |
drm/amdgpu: note that we can handle peer2peer DMA-buf
Importing should work out of the box.
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/359293
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c index ffeb20f11c07..aef12ee2f1e3 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 }; |