Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/ttm/
A Dttm_bo_util.c206 dma_resv_fini(&fbo->base.base._resv); in ttm_transfered_destroy()
250 fbo->base.base.resv = &fbo->base.base._resv; in ttm_buffer_object_transfer()
252 dma_resv_init(&fbo->base.base._resv); in ttm_buffer_object_transfer()
254 ret = dma_resv_trylock(&fbo->base.base._resv); in ttm_buffer_object_transfer()
265 ret = dma_resv_reserve_fences(&fbo->base.base._resv, 1); in ttm_buffer_object_transfer()
585 dma_resv_add_fence(&ghost_obj->base._resv, fence, in ttm_bo_move_to_ghost()
599 dma_resv_unlock(&ghost_obj->base._resv); in ttm_bo_move_to_ghost()
753 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting()
760 dma_resv_unlock(&ghost->base._resv); in ttm_bo_pipeline_gutting()
A Dttm_bo.c190 if (bo->base.resv == &bo->base._resv) in ttm_bo_individualize_resv()
193 BUG_ON(!dma_resv_trylock(&bo->base._resv)); in ttm_bo_individualize_resv()
195 r = dma_resv_copy_fences(&bo->base._resv, bo->base.resv); in ttm_bo_individualize_resv()
196 dma_resv_unlock(&bo->base._resv); in ttm_bo_individualize_resv()
206 bo->base.resv = &bo->base._resv; in ttm_bo_individualize_resv()
215 struct dma_resv *resv = &bo->base._resv; in ttm_bo_flush_all_fences()
245 struct dma_resv *resv = &bo->base._resv; in ttm_bo_cleanup_refs()
970 bo->base.resv = &bo->base._resv; in ttm_bo_init_reserved()
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_gtt.c169 if (vm->scratch[0]->base.resv == &vm->_resv) { in i915_vm_lock_objects()
197 dma_resv_fini(&vm->_resv); in i915_vm_resv_release()
267 dma_resv_init(&vm->_resv); in i915_address_space_init()
A Dintel_gtt.h247 struct dma_resv _resv; /* reservation lock for all pd objects, and buffer pool */ member
480 return &vm->_resv; in i915_vm_resv_get()
A Dintel_ggtt.c780 dma_resv_fini(&ggtt->vm._resv); in i915_ggtt_driver_late_release()
1116 dma_resv_init(&ggtt->vm._resv); in ggtt_probe_hw()
1126 dma_resv_fini(&ggtt->vm._resv); in ggtt_probe_hw()
A Dintel_ppgtt.c318 dma_resv_init(&ppgtt->vm._resv); in ppgtt_init()
/linux-6.3-rc2/include/drm/
A Ddrm_gem.h338 struct dma_resv _resv; member
/linux-6.3-rc2/drivers/gpu/drm/
A 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()
182 dma_resv_fini(&obj->_resv); in drm_gem_private_object_fini()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_object.c1312 && bo->base.resv != &bo->base._resv); in amdgpu_bo_release_notify()
1313 if (bo->base.resv == &bo->base._resv) in amdgpu_bo_release_notify()
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/
A Di915_gem_object.c113 dma_resv_fini(&obj->base._resv); in __i915_gem_object_fini()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/
A Dnouveau_bo.c154 dma_resv_fini(&bo->base._resv); in nouveau_bo_del_ttm()
339 dma_resv_init(&nvbo->bo.base._resv); in nouveau_bo_new()

Completed in 27 milliseconds