Lines Matching refs:drm_gem_object

43 struct drm_gem_object;
56 void (*free)(struct drm_gem_object *obj);
65 int (*open)(struct drm_gem_object *obj, struct drm_file *file);
74 void (*close)(struct drm_gem_object *obj, struct drm_file *file);
90 const struct drm_gem_object *obj);
100 struct dma_buf *(*export)(struct drm_gem_object *obj, int flags);
109 int (*pin)(struct drm_gem_object *obj);
118 void (*unpin)(struct drm_gem_object *obj);
132 struct sg_table *(*get_sg_table)(struct drm_gem_object *obj);
142 int (*vmap)(struct drm_gem_object *obj, struct iosys_map *map);
152 void (*vunmap)(struct drm_gem_object *obj, struct iosys_map *map);
165 int (*mmap)(struct drm_gem_object *obj, struct vm_area_struct *vma);
220 struct drm_gem_object { struct
402 void drm_gem_object_release(struct drm_gem_object *obj);
405 struct drm_gem_object *obj, size_t size);
407 struct drm_gem_object *obj, size_t size);
410 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size,
421 static inline void drm_gem_object_get(struct drm_gem_object *obj) in drm_gem_object_get()
428 __drm_gem_object_put(struct drm_gem_object *obj) in __drm_gem_object_put()
440 drm_gem_object_put(struct drm_gem_object *obj) in drm_gem_object_put()
447 struct drm_gem_object *obj,
452 void drm_gem_free_mmap_offset(struct drm_gem_object *obj);
453 int drm_gem_create_mmap_offset(struct drm_gem_object *obj);
454 int drm_gem_create_mmap_offset_size(struct drm_gem_object *obj, size_t size);
456 struct page **drm_gem_get_pages(struct drm_gem_object *obj);
457 void drm_gem_put_pages(struct drm_gem_object *obj, struct page **pages,
461 int count, struct drm_gem_object ***objs_out);
462 struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle);
465 int drm_gem_lock_reservations(struct drm_gem_object **objs, int count,
467 void drm_gem_unlock_reservations(struct drm_gem_object **objs, int count,
473 void drm_gem_lru_remove(struct drm_gem_object *obj);
474 void drm_gem_lru_move_tail(struct drm_gem_lru *lru, struct drm_gem_object *obj);
476 bool (*shrink)(struct drm_gem_object *obj));