Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/ttm/
H 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()
594 dma_resv_add_fence(&ghost_obj->base._resv, fence, in ttm_bo_move_to_ghost()
608 dma_resv_unlock(&ghost_obj->base._resv); in ttm_bo_move_to_ghost()
755 ret = dma_resv_copy_fences(&ghost->base._resv, bo->base.resv); in ttm_bo_pipeline_gutting()
762 dma_resv_unlock(&ghost->base._resv); in ttm_bo_pipeline_gutting()
H 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()
983 bo->base.resv = &bo->base._resv; in ttm_bo_init_reserved()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H 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()
H A Dintel_gtt.h261 struct dma_resv _resv; /* reservation lock for all pd objects, and buffer pool */ member
496 return &vm->_resv; in i915_vm_resv_get()
H A Dintel_ppgtt.c318 dma_resv_init(&ppgtt->vm._resv); in ppgtt_init()
H A Dintel_ggtt.c861 dma_resv_fini(&ggtt->vm._resv); in i915_ggtt_driver_late_release()
1203 dma_resv_init(&ggtt->vm._resv); in ggtt_probe_hw()
1213 dma_resv_fini(&ggtt->vm._resv); in ggtt_probe_hw()
/openbmc/linux/include/drm/
H A Ddrm_gem.h382 struct dma_resv _resv; member
/openbmc/linux/drivers/gpu/drm/
H 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()
185 dma_resv_fini(&obj->_resv); in drm_gem_private_object_fini()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_object.c1363 && bo->base.resv != &bo->base._resv); in amdgpu_bo_release_notify()
1364 if (bo->base.resv == &bo->base._resv) in amdgpu_bo_release_notify()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_object.c140 dma_resv_fini(&obj->base._resv); in __i915_gem_object_fini()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.c154 dma_resv_fini(&bo->base._resv); in nouveau_bo_del_ttm()
378 dma_resv_init(&nvbo->bo.base._resv); in nouveau_bo_new()
/openbmc/qemu/hw/ppc/
H A Dspapr_events.c168 uint8_t _resv; member