Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dradeon_ttm.c56 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()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c306 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind() argument
312 if (!bo_mem) in vmw_ttm_bind()
322 vmw_be->gmr_id = bo_mem->start; in vmw_ttm_bind()
323 vmw_be->mem_type = bo_mem->mem_type; in vmw_ttm_bind()
325 switch (bo_mem->mem_type) { in vmw_ttm_bind()
/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/amd/amdgpu/
Damdgpu_ttm.c70 struct ttm_resource *bo_mem);
898 struct ttm_resource *bo_mem) in amdgpu_ttm_backend_bind() argument
905 if (!bo_mem) in amdgpu_ttm_backend_bind()
936 ttm->num_pages, bo_mem, ttm); in amdgpu_ttm_backend_bind()
939 if (bo_mem->mem_type != TTM_PL_TT || in amdgpu_ttm_backend_bind()
940 !amdgpu_gtt_mgr_has_gart_addr(bo_mem)) { in amdgpu_ttm_backend_bind()
946 flags = amdgpu_ttm_tt_pte_flags(adev, ttm, bo_mem); in amdgpu_ttm_backend_bind()
949 gtt->offset = (u64)bo_mem->start << PAGE_SHIFT; in amdgpu_ttm_backend_bind()