Searched refs:bo_mem (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/gpu/drm/ttm/ |
H A 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()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ttm_buffer.c | 306 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()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A 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()
|
/openbmc/linux/include/drm/ttm/ |
H A D | ttm_tt.h | 251 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem);
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 70 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()
|