Lines Matching full:gem
91 * drm_gem_init - Initialize the GEM device fields
118 * drm_gem_object_init_with_mnt - initialize an allocated shmem-backed GEM
124 * @gemfs: tmpfs mount where the GEM object will be created. If NULL, use
127 * Initialize an already allocated GEM object of the specified size with
154 * drm_gem_object_init - initialize an allocated shmem-backed GEM object
159 * Initialize an already allocated GEM object of the specified size with
170 * drm_gem_private_object_init - initialize an allocated private GEM object
175 * Initialize an already allocated GEM object of the specified size with
176 * no GEM provided backing store. Instead the caller is responsible for
207 * Uninitialize an already allocated GEM object when it initialized failed
230 * @obj: GEM object
232 * Acquires a reference on the GEM buffer object's handle. Required to keep
233 * the GEM object alive. Call drm_gem_object_handle_put_if_exists_unlocked()
246 * First ref taken during GEM object creation, if any. Some in drm_gem_object_handle_get_if_exists_unlocked()
247 * drivers set up internal framebuffers with GEM objects that in drm_gem_object_handle_get_if_exists_unlocked()
248 * do not have a GEM handle. Hence, this counter can be zero. in drm_gem_object_handle_get_if_exists_unlocked()
260 * @obj: GEM object to clean up.
290 * @obj: GEM object
292 * Releases a reference on the GEM buffer object's handle. Possibly releases
293 * the GEM buffer object and associated dma-buf objects.
355 * Removes the GEM handle from the @filp lookup table which has been added with
357 * resources like GEM names.
385 * drm_gem_dumb_map_offset - return the fake mmap offset for a gem object
386 * @file: drm file-private structure containing the gem object
388 * @handle: gem object handle
392 * drivers which use gem to manage their backing storage.
500 * drm_gem_handle_create - create a gem handle for an object
531 * the GEM object.
547 * GEM memory mapping works by handing back to userspace a fake mmap offset
573 * GEM memory mapping works by handing back to userspace a fake mmap offset
601 * drm_gem_get_pages - helper to allocate backing pages for a GEM object
605 * This reads the page-array of the shmem-backing storage of the given gem
636 /* This is the shared memory object that backs the GEM resource */ in drm_gem_get_pages()
694 * drm_gem_put_pages - helper to free backing pages for a GEM object
768 * drm_gem_objects_lookup - look up GEM objects from an array of handles
775 * GEM objects.
780 * @objs filled in with GEM object pointers. Returned GEM objects need to be
810 DRM_DEBUG("Failed to copy in GEM handles\n"); in drm_gem_objects_lookup()
823 * drm_gem_object_lookup - look up a GEM object from its handle
844 * drm_gem_dma_resv_wait - Wait on GEM object's reservation's objects
863 DRM_DEBUG("Failed to look up GEM BO %d\n", handle); in drm_gem_dma_resv_wait()
1020 * drm_gem_open - initializes GEM file-private structures at devnode open time
1035 * drm_gem_release - release file-private GEM resources
1052 * drm_gem_object_release - release GEM buffer object resources
1053 * @obj: GEM buffer object
1072 * drm_gem_object_free - free a GEM object
1093 * drm_gem_vm_open - vma->ops->open implementation for GEM
1096 * This function implements the #vm_operations_struct open() callback for GEM
1108 * drm_gem_vm_close - vma->ops->close implementation for GEM
1111 * This function implements the #vm_operations_struct close() callback for GEM
1123 * drm_gem_mmap_obj - memory map a GEM object
1124 * @obj: the GEM object to map
1128 * Set up the VMA to prepare mapping of the GEM object using the GEM object's
1129 * vm_ops. Depending on their requirements, GEM objects can either
1136 * the GEM object is not looked up based on its fake offset. To implement the
1191 * drm_gem_mmap - memory map routine for GEM objects
1195 * If a driver supports GEM object mapping, mmap calls on the DRM file
1198 * Look up the GEM object based on the offset passed in (vma->vm_pgoff will
1338 * the lock on an array of GEM objects.
1443 * @obj: The GEM object to remove from current LRU
1465 * @obj: The GEM object to move into this LRU
1489 * @obj: The GEM object to move into this LRU
1605 * drm_gem_evict_locked - helper to evict backing pages for a GEM object