Lines Matching refs:gem
476 static void drm_gem_vram_object_free(struct drm_gem_object *gem) in drm_gem_vram_object_free() argument
478 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(gem); in drm_gem_vram_object_free()
530 struct drm_gem_object *gem; in drm_gem_vram_driver_dumb_mmap_offset() local
533 gem = drm_gem_object_lookup(file, handle); in drm_gem_vram_driver_dumb_mmap_offset()
534 if (!gem) in drm_gem_vram_driver_dumb_mmap_offset()
537 gbo = drm_gem_vram_of_gem(gem); in drm_gem_vram_driver_dumb_mmap_offset()
540 drm_gem_object_put_unlocked(gem); in drm_gem_vram_driver_dumb_mmap_offset()
559 static int drm_gem_vram_object_pin(struct drm_gem_object *gem) in drm_gem_vram_object_pin() argument
561 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(gem); in drm_gem_vram_object_pin()
579 static void drm_gem_vram_object_unpin(struct drm_gem_object *gem) in drm_gem_vram_object_unpin() argument
581 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(gem); in drm_gem_vram_object_unpin()
595 static void *drm_gem_vram_object_vmap(struct drm_gem_object *gem) in drm_gem_vram_object_vmap() argument
597 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(gem); in drm_gem_vram_object_vmap()
618 static void drm_gem_vram_object_vunmap(struct drm_gem_object *gem, in drm_gem_vram_object_vunmap() argument
621 struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(gem); in drm_gem_vram_object_vunmap()