Lines Matching full:gem
5 * GEM Graphics Execution Manager Driver Interfaces
59 * become puregeable until it becomes idle. The status gem object func does
68 * struct drm_gem_object_funcs - GEM object functions
83 * Called upon GEM handle creation.
92 * Called upon GEM handle release.
179 * Handle mmap() of the gem object, setup vma accordingly.
192 * Evicts gem object out from memory. Used by the drm_gem_object_evict()
225 * A helper for tracking GEM objects in a given state, to aid in
235 * Lock protecting movement of GEM objects between LRUs. All
244 * The total number of backing pages of the GEM objects in
258 * struct drm_gem_object - GEM buffer object
260 * This structure defines the generic parts for GEM buffer objects, which are
272 * or drm_gem_object_put() to release a reference to a GEM
280 * This is the GEM file_priv handle count of this object.
299 * GEM also supports driver private objects with driver-specific backing
337 * dma-buf associated with this GEM object.
339 * Pointer to the dma-buf associated with this gem object (either
341 * loop when the last gem handle for this object is released.
352 * Any foreign dma_buf imported as a gem object has this set to the
354 * of a gem object.
360 * Note that the drm gem/prime core does not depend upon drivers setting
370 * Pointer to reservation object associated with the this GEM object.
372 * Normally (@resv == &@_resv) except for imported GEM objects.
379 * A reservation object for this GEM object.
381 * This is unused for imported GEM objects.
388 * Provides the list of GPU VAs attached to this GEM object.
404 * Optional GEM object functions. If this is set, it will be used instead of the
405 * corresponding &drm_driver GEM callbacks.
422 * The current LRU list that the GEM object is on.
428 * DRM_GEM_FOPS - Default drm GEM file operations
430 * This macro provides a shorthand for setting the GEM file ops in the
445 * DEFINE_DRM_GEM_FOPS() - macro to generate file operations for GEM drivers
448 * This macro autogenerates a suitable &struct file_operations for GEM based
477 * drm_gem_object_get - acquire a GEM buffer object reference
478 * @obj: GEM buffer object
496 * drm_gem_object_put - drop a GEM buffer object reference
497 * @obj: GEM buffer object
552 * if a GEM object is shared.
562 * drm_gem_is_imported() - Tests if GEM object's buffer has been imported
563 * @obj: the GEM object
566 * True if the GEM object's buffer has been imported, false otherwise
585 "GEM GPUVA lock should be set only once.")) \
597 * drm_gem_gpuva_init() - initialize the gpuva list of a GEM object
621 list_for_each_entry(entry__, &(obj__)->gpuva.list, gem.entry)
635 list_for_each_entry_safe(entry__, next__, &(obj__)->gpuva.list, gem.entry)