Lines Matching refs:bo_mem
69 struct ttm_resource *bo_mem);
884 struct ttm_resource *bo_mem) in amdgpu_ttm_backend_bind() argument
891 if (!bo_mem) in amdgpu_ttm_backend_bind()
922 ttm->num_pages, bo_mem, ttm); in amdgpu_ttm_backend_bind()
925 if (bo_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_ttm_backend_bind()
926 bo_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_ttm_backend_bind()
927 bo_mem->mem_type == AMDGPU_PL_OA) in amdgpu_ttm_backend_bind()
930 if (bo_mem->mem_type != TTM_PL_TT || in amdgpu_ttm_backend_bind()
931 !amdgpu_gtt_mgr_has_gart_addr(bo_mem)) { in amdgpu_ttm_backend_bind()
937 flags = amdgpu_ttm_tt_pte_flags(adev, ttm, bo_mem); in amdgpu_ttm_backend_bind()
940 gtt->offset = (u64)bo_mem->start << PAGE_SHIFT; in amdgpu_ttm_backend_bind()