diff options
| author | Christian König <[email protected]> | 2018-05-28 11:34:01 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2018-06-20 13:59:34 +0000 |
| commit | f664a52695429b68afb4e130a0f69cd5fd1fec86 (patch) | |
| tree | 3d16603cc6349636f191c027a517a7539adc8545 /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |
| parent | dma_buf: remove device parameter from attach callback v2 (diff) | |
| download | kernel-f664a52695429b68afb4e130a0f69cd5fd1fec86.tar.gz kernel-f664a52695429b68afb4e130a0f69cd5fd1fec86.zip | |
dma-buf: remove kmap_atomic interface
Neither used nor correctly implemented anywhere. Just completely remove
the interface.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Acked-by: Sumit Semwal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/226645/
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c index bbbb4f9578db..0558da049827 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c @@ -238,9 +238,7 @@ static const struct dma_buf_ops amdgpu_dmabuf_ops = { .release = drm_gem_dmabuf_release, .begin_cpu_access = amdgpu_gem_begin_cpu_access, .map = drm_gem_dmabuf_kmap, - .map_atomic = drm_gem_dmabuf_kmap_atomic, .unmap = drm_gem_dmabuf_kunmap, - .unmap_atomic = drm_gem_dmabuf_kunmap_atomic, .mmap = drm_gem_dmabuf_mmap, .vmap = drm_gem_dmabuf_vmap, .vunmap = drm_gem_dmabuf_vunmap, |
