Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/ttm/
Dttm_bo_util.c195 dma_resv_fini(&fbo->base.base._resv); in ttm_transfered_destroy()
240 fbo->base.base.resv = &fbo->base.base._resv; in ttm_buffer_object_transfer()
242 dma_resv_init(&fbo->base.base._resv); in ttm_buffer_object_transfer()
244 ret = dma_resv_trylock(&fbo->base.base._resv); in ttm_buffer_object_transfer()
255 ret = dma_resv_reserve_fences(&fbo->base.base._resv, 1); in ttm_buffer_object_transfer()
516 dma_resv_add_fence(&ghost_obj->base._resv, fence, in ttm_bo_move_to_ghost()
530 dma_resv_unlock(&ghost_obj->base._resv); in ttm_bo_move_to_ghost()
660 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting()
665 dma_resv_unlock(&ghost->base._resv); in ttm_bo_pipeline_gutting()
Dttm_bo.c191 if (bo->base.resv == &bo->base._resv) in ttm_bo_individualize_resv()
194 BUG_ON(!dma_resv_trylock(&bo->base._resv)); in ttm_bo_individualize_resv()
196 r = dma_resv_copy_fences(&bo->base._resv, bo->base.resv); in ttm_bo_individualize_resv()
197 dma_resv_unlock(&bo->base._resv); in ttm_bo_individualize_resv()
207 bo->base.resv = &bo->base._resv; in ttm_bo_individualize_resv()
216 struct dma_resv *resv = &bo->base._resv; in ttm_bo_flush_all_fences()
246 struct dma_resv *resv = &bo->base._resv; in ttm_bo_cleanup_refs()
326 if (remove_all || bo->base.resv != &bo->base._resv) { in ttm_bo_delayed_delete()
977 bo->base.resv = &bo->base._resv; in ttm_bo_init_reserved()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gtt.c166 if (vm->scratch[0]->base.resv == &vm->_resv) { in i915_vm_lock_objects()
194 dma_resv_fini(&vm->_resv); in i915_vm_resv_release()
264 dma_resv_init(&vm->_resv); in i915_address_space_init()
Dintel_gtt.h246 struct dma_resv _resv; /* reservation lock for all pd objects, and buffer pool */ member
489 return &vm->_resv; in i915_vm_resv_get()
Dintel_ppgtt.c318 dma_resv_init(&ppgtt->vm._resv); in ppgtt_init()
Dintel_ggtt.c814 dma_resv_fini(&ggtt->vm._resv); in i915_ggtt_driver_late_release()
1151 dma_resv_init(&ggtt->vm._resv); in ggtt_probe_hw()
1161 dma_resv_fini(&ggtt->vm._resv); in ggtt_probe_hw()
/linux-6.1.9/include/drm/
Ddrm_gem.h338 struct dma_resv _resv; member
/linux-6.1.9/drivers/gpu/drm/
Ddrm_gem.c163 dma_resv_init(&obj->_resv); in drm_gem_private_object_init()
165 obj->resv = &obj->_resv; in drm_gem_private_object_init()
938 dma_resv_fini(&obj->_resv); in drm_gem_object_release()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c1309 && bo->base.resv != &bo->base._resv); in amdgpu_bo_release_notify()
1310 if (bo->base.resv == &bo->base._resv) in amdgpu_bo_release_notify()
/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_object.c113 dma_resv_fini(&obj->base._resv); in __i915_gem_object_fini()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_bo.c153 dma_resv_fini(&bo->base._resv); in nouveau_bo_del_ttm()
338 dma_resv_init(&nvbo->bo.base._resv); in nouveau_bo_new()