Lines Matching refs:bo_va
1300 struct amdgpu_bo_va *bo_va; in amdgpu_mes_ctx_map_meta_data() local
1321 bo_va = amdgpu_vm_bo_add(adev, vm, ctx_data->meta_data_obj); in amdgpu_mes_ctx_map_meta_data()
1322 if (!bo_va) { in amdgpu_mes_ctx_map_meta_data()
1328 r = amdgpu_vm_bo_map(adev, bo_va, ctx_data->meta_data_gpu_addr, 0, in amdgpu_mes_ctx_map_meta_data()
1338 r = amdgpu_vm_bo_update(adev, bo_va, false); in amdgpu_mes_ctx_map_meta_data()
1343 amdgpu_sync_fence(&sync, bo_va->last_pt_update); in amdgpu_mes_ctx_map_meta_data()
1356 ctx_data->meta_data_va = bo_va; in amdgpu_mes_ctx_map_meta_data()
1360 amdgpu_vm_bo_del(adev, bo_va); in amdgpu_mes_ctx_map_meta_data()
1371 struct amdgpu_bo_va *bo_va = ctx_data->meta_data_va; in amdgpu_mes_ctx_unmap_meta_data() local
1373 struct amdgpu_vm *vm = bo_va->base.vm; in amdgpu_mes_ctx_unmap_meta_data()
1392 amdgpu_vm_bo_del(adev, bo_va); in amdgpu_mes_ctx_unmap_meta_data()