Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/ttm/
A Dttm_bo_util.c192 dma_resv_fini(&fbo->base.base._resv); in ttm_transfered_destroy()
242 fbo->base.base.resv = &fbo->base.base._resv; in ttm_buffer_object_transfer()
244 dma_resv_init(&fbo->base.base._resv); in ttm_buffer_object_transfer()
246 ret = dma_resv_trylock(&fbo->base.base._resv); in ttm_buffer_object_transfer()
500 dma_resv_add_excl_fence(&ghost_obj->base._resv, fence); in ttm_bo_move_to_ghost()
514 dma_resv_unlock(&ghost_obj->base._resv); in ttm_bo_move_to_ghost()
632 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting()
637 dma_resv_unlock(&ghost->base._resv); in ttm_bo_pipeline_gutting()
A Dttm_bo.c246 if (bo->base.resv == &bo->base._resv) in ttm_bo_individualize_resv()
249 BUG_ON(!dma_resv_trylock(&bo->base._resv)); in ttm_bo_individualize_resv()
251 r = dma_resv_copy_fences(&bo->base._resv, bo->base.resv); in ttm_bo_individualize_resv()
252 dma_resv_unlock(&bo->base._resv); in ttm_bo_individualize_resv()
262 bo->base.resv = &bo->base._resv; in ttm_bo_individualize_resv()
271 struct dma_resv *resv = &bo->base._resv; in ttm_bo_flush_all_fences()
301 struct dma_resv *resv = &bo->base._resv; in ttm_bo_cleanup_refs()
381 if (remove_all || bo->base.resv != &bo->base._resv) { in ttm_bo_delayed_delete()
984 bo->base.resv = &bo->base._resv; in ttm_bo_init_reserved()
/linux/drivers/gpu/drm/i915/gt/
A Dintel_gtt.c125 if (vm->scratch[0]->base.resv == &vm->_resv) { in i915_vm_lock_objects()
153 dma_resv_fini(&vm->_resv); in i915_vm_resv_release()
216 dma_resv_init(&vm->_resv); in i915_address_space_init()
A Dintel_gtt.h239 struct dma_resv _resv; /* reservation lock for all pd objects, and buffer pool */ member
418 return &vm->_resv; in i915_vm_resv_get()
A Dintel_ppgtt.c313 dma_resv_init(&ppgtt->vm._resv); in ppgtt_init()
A Dintel_ggtt.c779 dma_resv_fini(&ggtt->vm._resv); in i915_ggtt_driver_late_release()
1166 dma_resv_init(&ggtt->vm._resv); in ggtt_probe_hw()
1175 dma_resv_fini(&ggtt->vm._resv); in ggtt_probe_hw()
/linux/include/drm/
A Ddrm_gem.h303 struct dma_resv _resv; member
/linux/drivers/gpu/drm/
A 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/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_bo.c439 dma_resv_fini(&bo->base._resv); in vmw_bo_bo_free()
493 dma_resv_init(&bo->base._resv); in vmw_bo_create_kernel()
555 dma_resv_init(&vmw_bo->base.base._resv); in vmw_bo_init()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_object.c1281 && bo->base.resv != &bo->base._resv); in amdgpu_bo_release_notify()
1282 if (bo->base.resv == &bo->base._resv) in amdgpu_bo_release_notify()
A Damdgpu_ttm.c120 struct dma_resv *resv = &bo->base._resv; in amdgpu_evict_flags()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_object.c106 dma_resv_fini(&obj->base._resv); in __i915_gem_object_fini()
/linux/drivers/gpu/drm/nouveau/
A 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()

Completed in 40 milliseconds