Lines Matching refs:drm_gem_object

29 	struct drm_gem_object base;
115 struct drm_gem_object *obj; /* the current pinned obj */
134 u64 omap_gem_mmap_offset(struct drm_gem_object *obj) in omap_gem_mmap_offset()
166 static void omap_gem_evict_entry(struct drm_gem_object *obj, in omap_gem_evict_entry()
194 static void omap_gem_evict(struct drm_gem_object *obj) in omap_gem_evict()
221 static int omap_gem_attach_pages(struct drm_gem_object *obj) in omap_gem_attach_pages()
294 static void omap_gem_detach_pages(struct drm_gem_object *obj) in omap_gem_detach_pages()
316 u32 omap_gem_flags(struct drm_gem_object *obj) in omap_gem_flags()
322 size_t omap_gem_mmap_size(struct drm_gem_object *obj) in omap_gem_mmap_size()
346 static vm_fault_t omap_gem_fault_1d(struct drm_gem_object *obj, in omap_gem_fault_1d()
372 static vm_fault_t omap_gem_fault_2d(struct drm_gem_object *obj, in omap_gem_fault_2d()
493 struct drm_gem_object *obj = vma->vm_private_data; in omap_gem_fault()
541 int omap_gem_mmap_obj(struct drm_gem_object *obj, in omap_gem_mmap_obj()
620 struct drm_gem_object *obj; in omap_gem_dumb_map_offset()
644 int omap_gem_roll(struct drm_gem_object *obj, u32 roll) in omap_gem_roll()
691 static inline bool omap_gem_is_cached_coherent(struct drm_gem_object *obj) in omap_gem_is_cached_coherent()
702 void omap_gem_cpu_sync_page(struct drm_gem_object *obj, int pgoff) in omap_gem_cpu_sync_page()
718 void omap_gem_dma_sync_buffer(struct drm_gem_object *obj, in omap_gem_dma_sync_buffer()
753 static int omap_gem_pin_tiler(struct drm_gem_object *obj) in omap_gem_pin_tiler()
807 int omap_gem_pin(struct drm_gem_object *obj, dma_addr_t *dma_addr) in omap_gem_pin()
851 static void omap_gem_unpin_locked(struct drm_gem_object *obj) in omap_gem_unpin_locked()
893 void omap_gem_unpin(struct drm_gem_object *obj) in omap_gem_unpin()
906 int omap_gem_rotated_dma_addr(struct drm_gem_object *obj, u32 orient, in omap_gem_rotated_dma_addr()
926 int omap_gem_tiled_stride(struct drm_gem_object *obj, u32 orient) in omap_gem_tiled_stride()
945 int omap_gem_get_pages(struct drm_gem_object *obj, struct page ***pages, in omap_gem_get_pages()
973 int omap_gem_put_pages(struct drm_gem_object *obj) in omap_gem_put_pages()
982 struct sg_table *omap_gem_get_sg(struct drm_gem_object *obj, in omap_gem_get_sg()
1061 void omap_gem_put_sg(struct drm_gem_object *obj, struct sg_table *sgt) in omap_gem_put_sg()
1076 void *omap_gem_vaddr(struct drm_gem_object *obj) in omap_gem_vaddr()
1118 struct drm_gem_object *obj = &omap_obj->base; in omap_gem_resume()
1143 void omap_gem_describe(struct drm_gem_object *obj, struct seq_file *m) in omap_gem_describe()
1182 struct drm_gem_object *obj = &omap_obj->base; in omap_gem_describe_objects()
1197 static void omap_gem_free_object(struct drm_gem_object *obj) in omap_gem_free_object()
1290 struct drm_gem_object *omap_gem_new(struct drm_device *dev, in omap_gem_new()
1295 struct drm_gem_object *obj; in omap_gem_new()
1392 struct drm_gem_object *omap_gem_new_dmabuf(struct drm_device *dev, size_t size, in omap_gem_new_dmabuf()
1397 struct drm_gem_object *obj; in omap_gem_new_dmabuf()
1449 struct drm_gem_object *obj; in omap_gem_new_handle()