aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima/lima_gem_prime.h
diff options
context:
space:
mode:
authorQiang Yu <yuq825@gmail.com>2019-10-10 22:01:50 +0800
committerQiang Yu <yuq825@gmail.com>2019-10-17 23:41:03 +0800
commitd61dd248ddadf85b3222b3f63c3d268fcc24beb4 (patch)
tree86b66859da2e01641750d01351302addee258397 /drivers/gpu/drm/lima/lima_gem_prime.h
parentce6eb0253cbacdf250cf894e34ca405d8c9e79da (diff)
drm/lima: use drm_gem_shmem_helpers
Do not need to maintain our own shmem memory management code as drm_gem_shmem_helpers provides it. And we can also benifit from the work of others with shared code. This is also a preparation for implementing buffer madv. Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191010140152.17747-2-yuq825@gmail.com
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem_prime.h')
-rw-r--r--drivers/gpu/drm/lima/lima_gem_prime.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/gpu/drm/lima/lima_gem_prime.h b/drivers/gpu/drm/lima/lima_gem_prime.h
deleted file mode 100644
index 34b4d35c21e3..000000000000
--- a/drivers/gpu/drm/lima/lima_gem_prime.h
+++ /dev/null
@@ -1,13 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 OR MIT */
-/* Copyright 2018-2019 Qiang Yu <yuq825@gmail.com> */
-
-#ifndef __LIMA_GEM_PRIME_H__
-#define __LIMA_GEM_PRIME_H__
-
-struct drm_gem_object *lima_gem_prime_import_sg_table(
- struct drm_device *dev, struct dma_buf_attachment *attach,
- struct sg_table *sgt);
-struct sg_table *lima_gem_prime_get_sg_table(struct drm_gem_object *obj);
-int lima_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma);
-
-#endif