Lines Matching full:gem

90  * drm_gem_init - Initialize the GEM device fields
117 * drm_gem_object_init_with_mnt - initialize an allocated shmem-backed GEM
123 * @gemfs: tmpfs mount where the GEM object will be created. If NULL, use
126 * Initialize an already allocated GEM object of the specified size with
153 * drm_gem_object_init - initialize an allocated shmem-backed GEM object
158 * Initialize an already allocated GEM object of the specified size with
169 * drm_gem_private_object_init - initialize an allocated private GEM object
174 * Initialize an already allocated GEM object of the specified size with
175 * no GEM provided backing store. Instead the caller is responsible for
205 * Uninitialize an already allocated GEM object when it initialized failed
217 * @obj: GEM object to clean up.
298 * Removes the GEM handle from the @filp lookup table which has been added with
300 * resources like GEM names.
328 * drm_gem_dumb_map_offset - return the fake mmap offset for a gem object
329 * @file: drm file-private structure containing the gem object
331 * @handle: gem object handle
335 * drivers which use gem to manage their backing storage.
438 * drm_gem_handle_create - create a gem handle for an object
469 * the GEM object.
485 * GEM memory mapping works by handing back to userspace a fake mmap offset
511 * GEM memory mapping works by handing back to userspace a fake mmap offset
539 * drm_gem_get_pages - helper to allocate backing pages for a GEM object
543 * This reads the page-array of the shmem-backing storage of the given gem
574 /* This is the shared memory object that backs the GEM resource */ in drm_gem_get_pages()
632 * drm_gem_put_pages - helper to free backing pages for a GEM object
706 * drm_gem_objects_lookup - look up GEM objects from an array of handles
713 * GEM objects.
718 * @objs filled in with GEM object pointers. Returned GEM objects need to be
748 DRM_DEBUG("Failed to copy in GEM handles\n"); in drm_gem_objects_lookup()
761 * drm_gem_object_lookup - look up a GEM object from its handle
782 * drm_gem_dma_resv_wait - Wait on GEM object's reservation's objects
801 DRM_DEBUG("Failed to look up GEM BO %d\n", handle); in drm_gem_dma_resv_wait()
937 * drm_gem_open - initializes GEM file-private structures at devnode open time
952 * drm_gem_release - release file-private GEM resources
969 * drm_gem_object_release - release GEM buffer object resources
970 * @obj: GEM buffer object
989 * drm_gem_object_free - free a GEM object
1010 * drm_gem_vm_open - vma->ops->open implementation for GEM
1013 * This function implements the #vm_operations_struct open() callback for GEM
1025 * drm_gem_vm_close - vma->ops->close implementation for GEM
1028 * This function implements the #vm_operations_struct close() callback for GEM
1040 * drm_gem_mmap_obj - memory map a GEM object
1041 * @obj: the GEM object to map
1045 * Set up the VMA to prepare mapping of the GEM object using the GEM object's
1046 * vm_ops. Depending on their requirements, GEM objects can either
1053 * the GEM object is not looked up based on its fake offset. To implement the
1108 * drm_gem_mmap - memory map routine for GEM objects
1112 * If a driver supports GEM object mapping, mmap calls on the DRM file
1115 * Look up the GEM object based on the offset passed in (vma->vm_pgoff will
1287 * the lock on an array of GEM objects.
1392 * @obj: The GEM object to remove from current LRU
1414 * @obj: The GEM object to move into this LRU
1438 * @obj: The GEM object to move into this LRU
1546 * drm_gem_evict - helper to evict backing pages for a GEM object