Searched refs:bo_mem (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/ttm/ |
D | ttm_agp_backend.c | 50 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.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_buffer.c | 300 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind() argument 306 if (!bo_mem) in vmw_ttm_bind() 316 vmw_be->gmr_id = bo_mem->start; in vmw_ttm_bind() 317 vmw_be->mem_type = bo_mem->mem_type; in vmw_ttm_bind() 319 switch (bo_mem->mem_type) { in vmw_ttm_bind()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 56 struct ttm_resource *bo_mem); 430 struct ttm_resource *bo_mem) in radeon_ttm_backend_bind() argument 446 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in radeon_ttm_backend_bind() 449 ttm->num_pages, bo_mem, ttm); in radeon_ttm_backend_bind() 609 struct ttm_resource *bo_mem) in radeon_ttm_tt_bind() argument 615 if (!bo_mem) in radeon_ttm_tt_bind() 619 return ttm_agp_bind(ttm, bo_mem); in radeon_ttm_tt_bind() 622 return radeon_ttm_backend_bind(bdev, ttm, bo_mem); in radeon_ttm_tt_bind()
|
/linux-6.6.21/include/drm/ttm/ |
D | ttm_tt.h | 244 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem);
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 70 struct ttm_resource *bo_mem); 882 struct ttm_resource *bo_mem) in amdgpu_ttm_backend_bind() argument 889 if (!bo_mem) in amdgpu_ttm_backend_bind() 920 ttm->num_pages, bo_mem, ttm); in amdgpu_ttm_backend_bind() 923 if (bo_mem->mem_type != TTM_PL_TT || in amdgpu_ttm_backend_bind() 924 !amdgpu_gtt_mgr_has_gart_addr(bo_mem)) { in amdgpu_ttm_backend_bind() 930 flags = amdgpu_ttm_tt_pte_flags(adev, ttm, bo_mem); in amdgpu_ttm_backend_bind() 933 gtt->offset = (u64)bo_mem->start << PAGE_SHIFT; in amdgpu_ttm_backend_bind()
|