Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c382 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind() argument
388 if (!bo_mem) in vmw_ttm_bind()
398 vmw_be->gmr_id = bo_mem->start; in vmw_ttm_bind()
399 vmw_be->mem_type = bo_mem->mem_type; in vmw_ttm_bind()
401 switch (bo_mem->mem_type) { in vmw_ttm_bind()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_ttm.c57 struct ttm_resource *bo_mem);
434 struct ttm_resource *bo_mem) in radeon_ttm_backend_bind() argument
450 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in radeon_ttm_backend_bind()
453 ttm->num_pages, bo_mem, ttm); in radeon_ttm_backend_bind()
613 struct ttm_resource *bo_mem) in radeon_ttm_tt_bind() argument
619 if (!bo_mem) in radeon_ttm_tt_bind()
623 return ttm_agp_bind(ttm, bo_mem); in radeon_ttm_tt_bind()
626 return radeon_ttm_backend_bind(bdev, ttm, bo_mem); in radeon_ttm_tt_bind()
/linux-6.1.9/include/drm/ttm/
Dttm_tt.h244 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem);
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c71 struct ttm_resource *bo_mem);
850 struct ttm_resource *bo_mem) in amdgpu_ttm_backend_bind() argument
857 if (!bo_mem) in amdgpu_ttm_backend_bind()
888 ttm->num_pages, bo_mem, ttm); in amdgpu_ttm_backend_bind()
891 if (bo_mem->mem_type != TTM_PL_TT || in amdgpu_ttm_backend_bind()
892 !amdgpu_gtt_mgr_has_gart_addr(bo_mem)) { in amdgpu_ttm_backend_bind()
898 flags = amdgpu_ttm_tt_pte_flags(adev, ttm, bo_mem); in amdgpu_ttm_backend_bind()
901 gtt->offset = (u64)bo_mem->start << PAGE_SHIFT; in amdgpu_ttm_backend_bind()