Home
last modified time | relevance | path

Searched refs:_resv (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/ttm/
Dttm_bo_util.c193 dma_resv_fini(&fbo->base.base._resv); in ttm_transfered_destroy()
243 fbo->base.base.resv = &fbo->base.base._resv; in ttm_buffer_object_transfer()
245 dma_resv_init(&fbo->base.base._resv); in ttm_buffer_object_transfer()
247 ret = dma_resv_trylock(&fbo->base.base._resv); in ttm_buffer_object_transfer()
501 dma_resv_add_excl_fence(&ghost_obj->base._resv, fence); in ttm_bo_move_to_ghost()
515 dma_resv_unlock(&ghost_obj->base._resv); in ttm_bo_move_to_ghost()
633 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting()
638 dma_resv_unlock(&ghost->base._resv); in ttm_bo_pipeline_gutting()
Dttm_bo.c236 if (bo->base.resv == &bo->base._resv) in ttm_bo_individualize_resv()
239 BUG_ON(!dma_resv_trylock(&bo->base._resv)); in ttm_bo_individualize_resv()
241 r = dma_resv_copy_fences(&bo->base._resv, bo->base.resv); in ttm_bo_individualize_resv()
242 dma_resv_unlock(&bo->base._resv); in ttm_bo_individualize_resv()
252 bo->base.resv = &bo->base._resv; in ttm_bo_individualize_resv()
261 struct dma_resv *resv = &bo->base._resv; in ttm_bo_flush_all_fences()
299 struct dma_resv *resv = &bo->base._resv; in ttm_bo_cleanup_refs()
379 if (remove_all || bo->base.resv != &bo->base._resv) { in ttm_bo_delayed_delete()
1027 bo->base.resv = &bo->base._resv; in ttm_bo_init_reserved()
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dintel_gtt.c123 if (vm->scratch[0]->base.resv == &vm->_resv) { in i915_vm_lock_objects()
151 dma_resv_fini(&vm->_resv); in i915_vm_resv_release()
214 dma_resv_init(&vm->_resv); in i915_address_space_init()
Dintel_gtt.h239 struct dma_resv _resv; /* reservation lock for all pd objects, and buffer pool */ member
415 return &vm->_resv; in i915_vm_resv_get()
Dintel_ppgtt.c310 dma_resv_init(&ppgtt->vm._resv); in ppgtt_init()
Dintel_ggtt.c780 dma_resv_fini(&ggtt->vm._resv); in i915_ggtt_driver_late_release()
1151 dma_resv_init(&ggtt->vm._resv); in ggtt_probe_hw()
1160 dma_resv_fini(&ggtt->vm._resv); in ggtt_probe_hw()
/Linux-v5.15/include/drm/
Ddrm_gem.h303 struct dma_resv _resv; member
/Linux-v5.15/drivers/gpu/drm/
Ddrm_gem.c162 dma_resv_init(&obj->_resv); in drm_gem_private_object_init()
164 obj->resv = &obj->_resv; in drm_gem_private_object_init()
950 dma_resv_fini(&obj->_resv); in drm_gem_object_release()
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c442 dma_resv_fini(&bo->base._resv); in vmw_bo_bo_free()
496 dma_resv_init(&bo->base._resv); in vmw_bo_create_kernel()
558 dma_resv_init(&vmw_bo->base.base._resv); in vmw_bo_init()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_object.c177 dma_resv_fini(&obj->base._resv); in __i915_gem_free_object_rcu()
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c1338 && bo->base.resv != &bo->base._resv); in amdgpu_bo_release_notify()
1339 if (bo->base.resv == &bo->base._resv) in amdgpu_bo_release_notify()
Damdgpu_ttm.c117 struct dma_resv *resv = &bo->base._resv; in amdgpu_evict_flags()
/Linux-v5.15/drivers/gpu/drm/nouveau/
Dnouveau_bo.c153 dma_resv_fini(&bo->base._resv); in nouveau_bo_del_ttm()
336 dma_resv_init(&nvbo->bo.base._resv); in nouveau_bo_new()