Home
last modified time | relevance | path

Searched refs:bo_mem (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/ttm/
Dttm_agp_backend.c50 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem) in ttm_agp_bind() argument
79 ret = agp_bind_memory(mem, bo_mem->start); in ttm_agp_bind()
/drivers/gpu/drm/radeon/
Dradeon_ttm.c57 struct ttm_resource *bo_mem);
437 struct ttm_resource *bo_mem) in radeon_ttm_backend_bind() argument
453 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in radeon_ttm_backend_bind()
456 ttm->num_pages, bo_mem, ttm); in radeon_ttm_backend_bind()
617 struct ttm_resource *bo_mem) in radeon_ttm_tt_bind() argument
623 if (!bo_mem) in radeon_ttm_tt_bind()
627 return ttm_agp_bind(ttm, bo_mem); in radeon_ttm_tt_bind()
630 return radeon_ttm_backend_bind(bdev, ttm, bo_mem); in radeon_ttm_tt_bind()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c434 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind() argument
440 if (!bo_mem) in vmw_ttm_bind()
450 vmw_be->gmr_id = bo_mem->start; in vmw_ttm_bind()
451 vmw_be->mem_type = bo_mem->mem_type; in vmw_ttm_bind()
453 switch (bo_mem->mem_type) { in vmw_ttm_bind()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c66 struct ttm_resource *bo_mem);
879 struct ttm_resource *bo_mem) in amdgpu_ttm_backend_bind() argument
886 if (!bo_mem) in amdgpu_ttm_backend_bind()
917 ttm->num_pages, bo_mem, ttm); in amdgpu_ttm_backend_bind()
920 if (bo_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_ttm_backend_bind()
921 bo_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_ttm_backend_bind()
922 bo_mem->mem_type == AMDGPU_PL_OA) in amdgpu_ttm_backend_bind()
925 if (bo_mem->mem_type != TTM_PL_TT || in amdgpu_ttm_backend_bind()
926 !amdgpu_gtt_mgr_has_gart_addr(bo_mem)) { in amdgpu_ttm_backend_bind()
932 flags = amdgpu_ttm_tt_pte_flags(adev, ttm, bo_mem); in amdgpu_ttm_backend_bind()
[all …]