diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-08-07 13:47:48 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-10-05 11:45:40 -0400 |
commit | 03189d5bf7781086b2df97cdcf53324832840471 (patch) | |
tree | 9550643ee4fcff1b906873d6e802699721a29042 /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |
parent | 9e37ee7913b44b1fbaea327111ad991c7315d245 (diff) |
drm: Remove defunct dma_buf_kmap stubs
Since commit 09ea0dfbf972 ("dma-buf: make map_atomic and map function
pointers optional"), we no longer need to provide stub no-op functions
as the core now provides them directly.
References: 09ea0dfbf972 ("dma-buf: make map_atomic and map function pointers optional")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180807174748.4503-1-chris@chris-wilson.co.uk
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 e45e929aaab5..3e44d889f7af 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | |||
@@ -339,8 +339,6 @@ static const struct dma_buf_ops amdgpu_dmabuf_ops = { | |||
339 | .unmap_dma_buf = drm_gem_unmap_dma_buf, | 339 | .unmap_dma_buf = drm_gem_unmap_dma_buf, |
340 | .release = drm_gem_dmabuf_release, | 340 | .release = drm_gem_dmabuf_release, |
341 | .begin_cpu_access = amdgpu_gem_begin_cpu_access, | 341 | .begin_cpu_access = amdgpu_gem_begin_cpu_access, |
342 | .map = drm_gem_dmabuf_kmap, | ||
343 | .unmap = drm_gem_dmabuf_kunmap, | ||
344 | .mmap = drm_gem_dmabuf_mmap, | 342 | .mmap = drm_gem_dmabuf_mmap, |
345 | .vmap = drm_gem_dmabuf_vmap, | 343 | .vmap = drm_gem_dmabuf_vmap, |
346 | .vunmap = drm_gem_dmabuf_vunmap, | 344 | .vunmap = drm_gem_dmabuf_vunmap, |