mirror of https://gitee.com/openkylin/linux.git
drm/tegra: Remove dma_buf->k(un)map
No in-tree users left. Reviewed-by: Thierry Reding <treding@nvidia.com> Tested-by: Thierry Reding <treding@nvidia.com> Acked-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Jonathan Hunter <jonathanh@nvidia.com> Cc: linux-tegra@vger.kernel.org Link: https://patchwork.freedesktop.org/patch/msgid/20191118103536.17675-9-daniel.vetter@ffwll.ch
This commit is contained in:
parent
0d1da1fe30
commit
7195cf427b
|
@ -554,16 +554,6 @@ static int tegra_gem_prime_end_cpu_access(struct dma_buf *buf,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void *tegra_gem_prime_kmap(struct dma_buf *buf, unsigned long page)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void tegra_gem_prime_kunmap(struct dma_buf *buf, unsigned long page,
|
||||
void *addr)
|
||||
{
|
||||
}
|
||||
|
||||
static int tegra_gem_prime_mmap(struct dma_buf *buf, struct vm_area_struct *vma)
|
||||
{
|
||||
struct drm_gem_object *gem = buf->priv;
|
||||
|
@ -594,8 +584,6 @@ static const struct dma_buf_ops tegra_gem_prime_dmabuf_ops = {
|
|||
.release = tegra_gem_prime_release,
|
||||
.begin_cpu_access = tegra_gem_prime_begin_cpu_access,
|
||||
.end_cpu_access = tegra_gem_prime_end_cpu_access,
|
||||
.map = tegra_gem_prime_kmap,
|
||||
.unmap = tegra_gem_prime_kunmap,
|
||||
.mmap = tegra_gem_prime_mmap,
|
||||
.vmap = tegra_gem_prime_vmap,
|
||||
.vunmap = tegra_gem_prime_vunmap,
|
||||
|
|
Loading…
Reference in New Issue