• Home
  • Raw
  • Download

Lines Matching refs:resv

250 	bp.resv = NULL;  in amdgpu_bo_create_reserved()
534 .resv = bp->resv in amdgpu_bo_create()
592 bp->resv, bp->destroy); in amdgpu_bo_create()
608 r = amdgpu_fill_buffer(bo, 0, bo->tbo.base.resv, &fence); in amdgpu_bo_create()
617 if (!bp->resv) in amdgpu_bo_create()
630 if (!bp->resv) in amdgpu_bo_create()
631 dma_resv_unlock(bo->tbo.base.resv); in amdgpu_bo_create()
802 r = dma_resv_wait_timeout(bo->tbo.base.resv, false, false, in amdgpu_bo_kmap()
1140 dma_resv_assert_held(bo->tbo.base.resv); in amdgpu_bo_get_tiling_flags()
1309 && bo->base.resv != &bo->base._resv); in amdgpu_bo_release_notify()
1310 if (bo->base.resv == &bo->base._resv) in amdgpu_bo_release_notify()
1317 if (WARN_ON_ONCE(!dma_resv_trylock(bo->base.resv))) in amdgpu_bo_release_notify()
1320 r = amdgpu_fill_buffer(abo, AMDGPU_POISON, bo->base.resv, &fence); in amdgpu_bo_release_notify()
1326 dma_resv_unlock(bo->base.resv); in amdgpu_bo_release_notify()
1398 struct dma_resv *resv = bo->tbo.base.resv; in amdgpu_bo_fence() local
1401 dma_resv_add_shared_fence(resv, fence); in amdgpu_bo_fence()
1403 dma_resv_add_excl_fence(resv, fence); in amdgpu_bo_fence()
1420 int amdgpu_bo_sync_wait_resv(struct amdgpu_device *adev, struct dma_resv *resv, in amdgpu_bo_sync_wait_resv() argument
1428 amdgpu_sync_resv(adev, &sync, resv, sync_mode, owner); in amdgpu_bo_sync_wait_resv()
1448 return amdgpu_bo_sync_wait_resv(adev, bo->tbo.base.resv, in amdgpu_bo_sync_wait()
1465 WARN_ON_ONCE(!dma_resv_is_locked(bo->tbo.base.resv) && in amdgpu_bo_gpu_offset()