Lines Matching refs:resv
253 bp.resv = NULL; in amdgpu_bo_create_reserved()
455 .resv = bp->resv, in amdgpu_bo_do_create()
516 NULL, bp->resv, &amdgpu_bo_destroy); in amdgpu_bo_do_create()
532 r = amdgpu_fill_buffer(bo, 0, bo->tbo.base.resv, &fence); in amdgpu_bo_do_create()
541 if (!bp->resv) in amdgpu_bo_do_create()
554 if (!bp->resv) in amdgpu_bo_do_create()
555 dma_resv_unlock(bo->tbo.base.resv); in amdgpu_bo_do_create()
576 bp.resv = bo->tbo.base.resv; in amdgpu_bo_create_shadow()
616 if (!bp->resv) in amdgpu_bo_create()
617 WARN_ON(dma_resv_lock((*bo_ptr)->tbo.base.resv, in amdgpu_bo_create()
622 if (!bp->resv) in amdgpu_bo_create()
623 dma_resv_unlock((*bo_ptr)->tbo.base.resv); in amdgpu_bo_create()
720 r = dma_resv_wait_timeout_rcu(bo->tbo.base.resv, false, false, in amdgpu_bo_kmap()
1098 dma_resv_assert_held(bo->tbo.base.resv); in amdgpu_bo_get_tiling_flags()
1247 dma_resv_lock(bo->base.resv, NULL); in amdgpu_bo_release_notify()
1249 r = amdgpu_fill_buffer(abo, AMDGPU_POISON, bo->base.resv, &fence); in amdgpu_bo_release_notify()
1255 dma_resv_unlock(bo->base.resv); in amdgpu_bo_release_notify()
1330 struct dma_resv *resv = bo->tbo.base.resv; in amdgpu_bo_fence() local
1333 dma_resv_add_shared_fence(resv, fence); in amdgpu_bo_fence()
1335 dma_resv_add_excl_fence(resv, fence); in amdgpu_bo_fence()
1355 amdgpu_sync_resv(adev, &sync, bo->tbo.base.resv, owner, false); in amdgpu_bo_sync_wait()
1375 WARN_ON_ONCE(!dma_resv_is_locked(bo->tbo.base.resv) && in amdgpu_bo_gpu_offset()