diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2015-11-30 08:53:30 -0500 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-12-13 08:22:59 -0500 |
commit | 9bac40cf28c9318f0b3eb6c81ce35f32581ef7b4 (patch) | |
tree | 4da54e0db57de214883588fed3417ef844de5a36 | |
parent | 8b704d8a3f5c9a923e99121b05b874a723a76e04 (diff) |
drm/exynos: gem: remove old unused prototypes
This patch removes old, unused function prototypes from exynos_drm_gem.h.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_gem.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_gem.h b/drivers/gpu/drm/exynos/exynos_drm_gem.h index 37ab8b282db6..9ca5047959ec 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gem.h +++ b/drivers/gpu/drm/exynos/exynos_drm_gem.h | |||
@@ -55,8 +55,6 @@ struct exynos_drm_gem { | |||
55 | struct sg_table *sgt; | 55 | struct sg_table *sgt; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | struct page **exynos_gem_get_pages(struct drm_gem_object *obj, gfp_t gfpmask); | ||
59 | |||
60 | /* destroy a buffer with gem object */ | 58 | /* destroy a buffer with gem object */ |
61 | void exynos_drm_gem_destroy(struct exynos_drm_gem *exynos_gem); | 59 | void exynos_drm_gem_destroy(struct exynos_drm_gem *exynos_gem); |
62 | 60 | ||
@@ -91,10 +89,6 @@ void exynos_drm_gem_put_dma_addr(struct drm_device *dev, | |||
91 | unsigned int gem_handle, | 89 | unsigned int gem_handle, |
92 | struct drm_file *filp); | 90 | struct drm_file *filp); |
93 | 91 | ||
94 | /* map user space allocated by malloc to pages. */ | ||
95 | int exynos_drm_gem_userptr_ioctl(struct drm_device *dev, void *data, | ||
96 | struct drm_file *file_priv); | ||
97 | |||
98 | /* get buffer information to memory region allocated by gem. */ | 92 | /* get buffer information to memory region allocated by gem. */ |
99 | int exynos_drm_gem_get_ioctl(struct drm_device *dev, void *data, | 93 | int exynos_drm_gem_get_ioctl(struct drm_device *dev, void *data, |
100 | struct drm_file *file_priv); | 94 | struct drm_file *file_priv); |
@@ -123,28 +117,6 @@ int exynos_drm_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf); | |||
123 | /* set vm_flags and we can change the vm attribute to other one at here. */ | 117 | /* set vm_flags and we can change the vm attribute to other one at here. */ |
124 | int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma); | 118 | int exynos_drm_gem_mmap(struct file *filp, struct vm_area_struct *vma); |
125 | 119 | ||
126 | static inline int vma_is_io(struct vm_area_struct *vma) | ||
127 | { | ||
128 | return !!(vma->vm_flags & (VM_IO | VM_PFNMAP)); | ||
129 | } | ||
130 | |||
131 | /* get a copy of a virtual memory region. */ | ||
132 | struct vm_area_struct *exynos_gem_get_vma(struct vm_area_struct *vma); | ||
133 | |||
134 | /* release a userspace virtual memory area. */ | ||
135 | void exynos_gem_put_vma(struct vm_area_struct *vma); | ||
136 | |||
137 | /* get pages from user space. */ | ||
138 | int exynos_gem_get_pages_from_userptr(unsigned long start, | ||
139 | unsigned int npages, | ||
140 | struct page **pages, | ||
141 | struct vm_area_struct *vma); | ||
142 | |||
143 | /* drop the reference to pages. */ | ||
144 | void exynos_gem_put_pages_to_userptr(struct page **pages, | ||
145 | unsigned int npages, | ||
146 | struct vm_area_struct *vma); | ||
147 | |||
148 | /* map sgt with dma region. */ | 120 | /* map sgt with dma region. */ |
149 | int exynos_gem_map_sgt_with_dma(struct drm_device *drm_dev, | 121 | int exynos_gem_map_sgt_with_dma(struct drm_device *drm_dev, |
150 | struct sg_table *sgt, | 122 | struct sg_table *sgt, |