Lines Matching refs:drm_gem_object

22 static dma_addr_t physaddr(struct drm_gem_object *obj)  in physaddr()
30 static bool use_pages(struct drm_gem_object *obj) in use_pages()
64 static void update_lru_active(struct drm_gem_object *obj) in update_lru_active()
82 static void update_lru_locked(struct drm_gem_object *obj) in update_lru_locked()
98 static void update_lru(struct drm_gem_object *obj) in update_lru()
108 static struct page **get_pages_vram(struct drm_gem_object *obj, int npages) in get_pages_vram()
137 static struct page **get_pages(struct drm_gem_object *obj) in get_pages()
182 static void put_pages_vram(struct drm_gem_object *obj) in put_pages_vram()
194 static void put_pages(struct drm_gem_object *obj) in put_pages()
222 static struct page **msm_gem_pin_pages_locked(struct drm_gem_object *obj, in msm_gem_pin_pages_locked()
241 void msm_gem_pin_obj_locked(struct drm_gem_object *obj) in msm_gem_pin_obj_locked()
251 static void pin_obj_locked(struct drm_gem_object *obj) in pin_obj_locked()
260 struct page **msm_gem_pin_pages(struct drm_gem_object *obj) in msm_gem_pin_pages()
273 void msm_gem_unpin_pages(struct drm_gem_object *obj) in msm_gem_unpin_pages()
290 struct drm_gem_object *obj = vma->vm_private_data; in msm_gem_fault()
337 static uint64_t mmap_offset(struct drm_gem_object *obj) in mmap_offset()
355 uint64_t msm_gem_mmap_offset(struct drm_gem_object *obj) in msm_gem_mmap_offset()
365 static struct msm_gem_vma *add_vma(struct drm_gem_object *obj, in add_vma()
382 static struct msm_gem_vma *lookup_vma(struct drm_gem_object *obj, in lookup_vma()
414 put_iova_spaces(struct drm_gem_object *obj, bool close) in put_iova_spaces()
432 put_iova_vmas(struct drm_gem_object *obj) in put_iova_vmas()
444 static struct msm_gem_vma *get_vma_locked(struct drm_gem_object *obj, in get_vma_locked()
475 int msm_gem_pin_vma_locked(struct drm_gem_object *obj, struct msm_gem_vma *vma) in msm_gem_pin_vma_locked()
499 void msm_gem_unpin_locked(struct drm_gem_object *obj) in msm_gem_unpin_locked()
519 void msm_gem_unpin_active(struct drm_gem_object *obj) in msm_gem_unpin_active()
528 struct msm_gem_vma *msm_gem_get_vma_locked(struct drm_gem_object *obj, in msm_gem_get_vma_locked()
534 static int get_and_pin_iova_range_locked(struct drm_gem_object *obj, in get_and_pin_iova_range_locked()
560 int msm_gem_get_and_pin_iova_range(struct drm_gem_object *obj, in msm_gem_get_and_pin_iova_range()
574 int msm_gem_get_and_pin_iova(struct drm_gem_object *obj, in msm_gem_get_and_pin_iova()
584 int msm_gem_get_iova(struct drm_gem_object *obj, in msm_gem_get_iova()
602 static int clear_iova(struct drm_gem_object *obj, in clear_iova()
624 int msm_gem_set_iova(struct drm_gem_object *obj, in msm_gem_set_iova()
652 void msm_gem_unpin_iova(struct drm_gem_object *obj, in msm_gem_unpin_iova()
677 struct drm_gem_object *obj; in msm_gem_dumb_map_offset()
695 static void *get_vaddr(struct drm_gem_object *obj, unsigned madv) in get_vaddr()
737 void *msm_gem_get_vaddr_locked(struct drm_gem_object *obj) in msm_gem_get_vaddr_locked()
742 void *msm_gem_get_vaddr(struct drm_gem_object *obj) in msm_gem_get_vaddr()
759 void *msm_gem_get_vaddr_active(struct drm_gem_object *obj) in msm_gem_get_vaddr_active()
764 void msm_gem_put_vaddr_locked(struct drm_gem_object *obj) in msm_gem_put_vaddr_locked()
775 void msm_gem_put_vaddr(struct drm_gem_object *obj) in msm_gem_put_vaddr()
785 int msm_gem_madvise(struct drm_gem_object *obj, unsigned madv) in msm_gem_madvise()
811 void msm_gem_purge(struct drm_gem_object *obj) in msm_gem_purge()
852 void msm_gem_evict(struct drm_gem_object *obj) in msm_gem_evict()
868 void msm_gem_vunmap(struct drm_gem_object *obj) in msm_gem_vunmap()
881 bool msm_gem_active(struct drm_gem_object *obj) in msm_gem_active()
891 int msm_gem_cpu_prep(struct drm_gem_object *obj, uint32_t op, ktime_t *timeout) in msm_gem_cpu_prep()
915 int msm_gem_cpu_fini(struct drm_gem_object *obj) in msm_gem_cpu_fini()
922 void msm_gem_describe(struct drm_gem_object *obj, struct seq_file *m, in msm_gem_describe()
1011 struct drm_gem_object *obj = &msm_obj->base; in msm_gem_describe_objects()
1030 static void msm_gem_free_object(struct drm_gem_object *obj) in msm_gem_free_object()
1064 static int msm_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in msm_gem_object_mmap()
1079 struct drm_gem_object *obj; in msm_gem_new_handle()
1098 static enum drm_gem_object_status msm_gem_status(struct drm_gem_object *obj) in msm_gem_status()
1132 struct drm_gem_object **obj) in msm_gem_new_impl()
1167 struct drm_gem_object *msm_gem_new(struct drm_device *dev, uint32_t size, uint32_t flags) in msm_gem_new()
1171 struct drm_gem_object *obj = NULL; in msm_gem_new()
1253 struct drm_gem_object *msm_gem_import(struct drm_device *dev, in msm_gem_import()
1258 struct drm_gem_object *obj; in msm_gem_import()
1315 struct drm_gem_object **bo, uint64_t *iova) in msm_gem_kernel_new()
1318 struct drm_gem_object *obj = msm_gem_new(dev, size, flags); in msm_gem_kernel_new()
1348 void msm_gem_kernel_put(struct drm_gem_object *bo, in msm_gem_kernel_put()
1359 void msm_gem_object_set_name(struct drm_gem_object *bo, const char *fmt, ...) in msm_gem_object_set_name()