diff options
author | 2020-02-18 16:57:24 +0100 | |
---|---|---|
committer | 2020-02-27 14:58:01 +0100 | |
commit | bd2275eeed5b2d33eb7718e3562bf39e46ee64d1 (patch) | |
tree | 662420ba9afd29003016625d1a9ae9066d92e991 /drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | |
parent | drm/amdgpu: implement amdgpu_gem_prime_move_notify v2 (diff) | |
download | wireguard-linux-bd2275eeed5b2d33eb7718e3562bf39e46ee64d1.tar.xz wireguard-linux-bd2275eeed5b2d33eb7718e3562bf39e46ee64d1.zip |
dma-buf: drop dynamic_mapping flag
Instead use the pin() callback to detect dynamic DMA-buf handling.
Since amdgpu is now migrated it doesn't make much sense to keep
the extra flag.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/353997/?series=73646&rev=1
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, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c index 1a040ccf61bf..ffeb20f11c07 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c @@ -364,7 +364,6 @@ static int amdgpu_dma_buf_begin_cpu_access(struct dma_buf *dma_buf, } const struct dma_buf_ops amdgpu_dmabuf_ops = { - .dynamic_mapping = true, .attach = amdgpu_dma_buf_attach, .detach = amdgpu_dma_buf_detach, .pin = amdgpu_dma_buf_pin, |