Lines Matching full:gem

31  * GEM drivers which provide a GEM based dumb buffer with a virtual address are supported.
270 if (buffer->gem) { in drm_client_buffer_delete()
271 drm_gem_vunmap_unlocked(buffer->gem, &buffer->map); in drm_client_buffer_delete()
272 drm_gem_object_put(buffer->gem); in drm_client_buffer_delete()
309 buffer->gem = obj; in drm_client_buffer_create()
343 struct drm_gem_object *gem = buffer->gem; in drm_client_buffer_vmap_local() local
347 drm_gem_lock(gem); in drm_client_buffer_vmap_local()
349 ret = drm_gem_vmap(gem, map); in drm_client_buffer_vmap_local()
357 drm_gem_unlock(gem); in drm_client_buffer_vmap_local()
372 struct drm_gem_object *gem = buffer->gem; in drm_client_buffer_vunmap_local() local
375 drm_gem_vunmap(gem, map); in drm_client_buffer_vunmap_local()
376 drm_gem_unlock(gem); in drm_client_buffer_vunmap_local()
404 struct drm_gem_object *gem = buffer->gem; in drm_client_buffer_vmap() local
408 drm_gem_lock(gem); in drm_client_buffer_vmap()
410 ret = drm_gem_pin_locked(gem); in drm_client_buffer_vmap()
413 ret = drm_gem_vmap(gem, map); in drm_client_buffer_vmap()
417 drm_gem_unlock(gem); in drm_client_buffer_vmap()
424 drm_gem_unpin_locked(buffer->gem); in drm_client_buffer_vmap()
426 drm_gem_unlock(gem); in drm_client_buffer_vmap()
441 struct drm_gem_object *gem = buffer->gem; in drm_client_buffer_vunmap() local
444 drm_gem_lock(gem); in drm_client_buffer_vunmap()
445 drm_gem_vunmap(gem, map); in drm_client_buffer_vunmap()
446 drm_gem_unpin_locked(gem); in drm_client_buffer_vunmap()
447 drm_gem_unlock(gem); in drm_client_buffer_vunmap()
526 * again to solve a circular dependency should anybody export the GEM in drm_client_framebuffer_create()
528 * holding references to the GEM object to prevent its destruction. in drm_client_framebuffer_create()