Lines Matching refs:drm_gem_object
87 struct drm_gem_object base;
124 uint64_t msm_gem_mmap_offset(struct drm_gem_object *obj);
125 int msm_gem_pin_vma_locked(struct drm_gem_object *obj, struct msm_gem_vma *vma);
126 void msm_gem_unpin_locked(struct drm_gem_object *obj);
127 struct msm_gem_vma *msm_gem_get_vma_locked(struct drm_gem_object *obj,
129 int msm_gem_get_iova(struct drm_gem_object *obj,
131 int msm_gem_set_iova(struct drm_gem_object *obj,
133 int msm_gem_get_and_pin_iova_range(struct drm_gem_object *obj,
136 int msm_gem_get_and_pin_iova(struct drm_gem_object *obj,
138 void msm_gem_unpin_iova(struct drm_gem_object *obj,
140 struct page **msm_gem_pin_pages(struct drm_gem_object *obj);
141 void msm_gem_unpin_pages(struct drm_gem_object *obj);
146 void *msm_gem_get_vaddr_locked(struct drm_gem_object *obj);
147 void *msm_gem_get_vaddr(struct drm_gem_object *obj);
148 void *msm_gem_get_vaddr_active(struct drm_gem_object *obj);
149 void msm_gem_put_vaddr_locked(struct drm_gem_object *obj);
150 void msm_gem_put_vaddr(struct drm_gem_object *obj);
151 int msm_gem_madvise(struct drm_gem_object *obj, unsigned madv);
152 bool msm_gem_active(struct drm_gem_object *obj);
153 int msm_gem_cpu_prep(struct drm_gem_object *obj, uint32_t op, ktime_t *timeout);
154 int msm_gem_cpu_fini(struct drm_gem_object *obj);
157 struct drm_gem_object *msm_gem_new(struct drm_device *dev,
161 struct drm_gem_object **bo, uint64_t *iova);
162 void msm_gem_kernel_put(struct drm_gem_object *bo,
164 struct drm_gem_object *msm_gem_import(struct drm_device *dev,
167 void msm_gem_object_set_name(struct drm_gem_object *bo, const char *fmt, ...);
177 void msm_gem_describe(struct drm_gem_object *obj, struct seq_file *m,
183 msm_gem_lock(struct drm_gem_object *obj) in msm_gem_lock()
189 msm_gem_lock_interruptible(struct drm_gem_object *obj) in msm_gem_lock_interruptible()
195 msm_gem_unlock(struct drm_gem_object *obj) in msm_gem_unlock()
201 msm_gem_assert_locked(struct drm_gem_object *obj) in msm_gem_assert_locked()
244 void msm_gem_purge(struct drm_gem_object *obj);
245 void msm_gem_evict(struct drm_gem_object *obj);
246 void msm_gem_vunmap(struct drm_gem_object *obj);