Lines Matching refs:tbo
479 if (WARN_ON_ONCE(abo->tbo.pin_count > 0)) in amdgpu_bo_move()
661 struct ttm_tt *ttm = bo->tbo.ttm; in amdgpu_ttm_tt_get_user_pages()
810 struct ttm_buffer_object *tbo, in amdgpu_ttm_gart_bind() argument
813 struct amdgpu_bo *abo = ttm_to_amdgpu_bo(tbo); in amdgpu_ttm_gart_bind()
814 struct ttm_tt *ttm = tbo->ttm; in amdgpu_ttm_gart_bind()
969 void amdgpu_ttm_recover_gart(struct ttm_buffer_object *tbo) in amdgpu_ttm_recover_gart() argument
971 struct amdgpu_device *adev = amdgpu_ttm_adev(tbo->bdev); in amdgpu_ttm_recover_gart()
974 if (!tbo->ttm) in amdgpu_ttm_recover_gart()
977 flags = amdgpu_ttm_tt_pte_flags(adev, tbo->ttm, tbo->resource); in amdgpu_ttm_recover_gart()
978 amdgpu_ttm_gart_bind(adev, tbo, flags); in amdgpu_ttm_recover_gart()
1136 int amdgpu_ttm_tt_get_userptr(const struct ttm_buffer_object *tbo, in amdgpu_ttm_tt_get_userptr() argument
1141 if (!tbo->ttm) in amdgpu_ttm_tt_get_userptr()
1144 gtt = (void *)tbo->ttm; in amdgpu_ttm_tt_get_userptr()
1400 struct amdgpu_device *adev = amdgpu_ttm_adev(abo->tbo.bdev); in amdgpu_ttm_access_memory_sdma()
1425 amdgpu_res_first(abo->tbo.resource, offset, len, &src_mm); in amdgpu_ttm_access_memory_sdma()
1470 struct amdgpu_device *adev = amdgpu_ttm_adev(abo->tbo.bdev); in amdgpu_ttm_access_memory()
2067 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_fill_buffer()
2078 amdgpu_res_first(bo->tbo.resource, 0, amdgpu_bo_size(bo), &dst); in amdgpu_fill_buffer()
2088 r = amdgpu_ttm_map_buffer(&bo->tbo, bo->tbo.resource, &dst, in amdgpu_fill_buffer()