Searched refs:_resv (Results 1 – 14 of 14) sorted by relevance
| /linux-6.15/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo_util.c | 206 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 D | ttm_bo.c | 191 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() 943 bo->base.resv = &bo->base._resv; in ttm_bo_init_reserved()
|
| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | intel_gtt.c | 201 if (vm->scratch[0]->base.resv == &vm->_resv) { in i915_vm_lock_objects() 229 dma_resv_fini(&vm->_resv); in i915_vm_resv_release() 299 dma_resv_init(&vm->_resv); in i915_address_space_init()
|
| H A D | intel_gtt.h | 269 struct dma_resv _resv; /* reservation lock for all pd objects, and buffer pool */ member 504 return &vm->_resv; in i915_vm_resv_get()
|
| H A D | intel_ppgtt.c | 318 dma_resv_init(&ppgtt->vm._resv); in ppgtt_init()
|
| H A D | intel_ggtt.c | 1100 dma_resv_fini(&ggtt->vm._resv); in i915_ggtt_driver_late_release() 1460 dma_resv_init(&ggtt->vm._resv); in ggtt_probe_hw() 1470 dma_resv_fini(&ggtt->vm._resv); in ggtt_probe_hw()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_object.c | 1304 if (WARN_ON_ONCE(!dma_resv_trylock(&bo->base._resv))) in amdgpu_bo_release_notify() 1314 r = dma_resv_reserve_fences(&bo->base._resv, 1); in amdgpu_bo_release_notify() 1318 r = amdgpu_fill_buffer(abo, 0, &bo->base._resv, &fence, true); in amdgpu_bo_release_notify() 1323 dma_resv_add_fence(&bo->base._resv, fence, DMA_RESV_USAGE_KERNEL); in amdgpu_bo_release_notify() 1327 dma_resv_unlock(&bo->base._resv); in amdgpu_bo_release_notify()
|
| H A D | amdgpu_amdkfd_gpuvm.c | 384 struct dma_resv *resv = &bo->tbo.base._resv; in amdgpu_amdkfd_remove_all_eviction_fences()
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_gem.c | 189 dma_resv_init(&obj->_resv); in drm_gem_private_object_init() 191 obj->resv = &obj->_resv; in drm_gem_private_object_init() 211 dma_resv_fini(&obj->_resv); in drm_gem_private_object_fini()
|
| /linux-6.15/include/drm/ |
| H A D | drm_gem.h | 394 struct dma_resv _resv; member
|
| /linux-6.15/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bo.c | 163 dma_resv_fini(&bo->base._resv); in nouveau_bo_del_ttm() 388 dma_resv_init(&nvbo->bo.base._resv); in nouveau_bo_new()
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_object.c | 145 dma_resv_fini(&obj->base._resv); in __i915_gem_object_fini()
|
| /linux-6.15/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_bo_validate_test.c | 632 KUNIT_ASSERT_PTR_EQ(test, bo->base.resv, &bo->base._resv); in ttm_bo_validate_no_placement_not_signaled()
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_bo.c | 1286 if (ttm_bo->base.resv != &ttm_bo->base._resv) in xe_ttm_bo_release_notify()
|