Searched refs:bo_mem (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/ttm/ |
D | ttm_agp_backend.c | 51 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem) in ttm_agp_bind() argument 55 struct drm_mm_node *node = bo_mem->mm_node; in ttm_agp_bind() 57 int ret, cached = (bo_mem->placement & TTM_PL_FLAG_CACHED); in ttm_agp_bind()
|
/Linux-v5.10/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 109 struct ttm_resource *bo_mem) in qxl_ttm_backend_bind() argument 113 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in qxl_ttm_backend_bind() 116 ttm->num_pages, bo_mem, ttm); in qxl_ttm_backend_bind()
|
/Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_buffer.c | 559 struct ttm_tt *ttm, struct ttm_resource *bo_mem) in vmw_ttm_bind() argument 565 if (!bo_mem) in vmw_ttm_bind() 575 vmw_be->gmr_id = bo_mem->start; in vmw_ttm_bind() 576 vmw_be->mem_type = bo_mem->mem_type; in vmw_ttm_bind() 578 switch (bo_mem->mem_type) { in vmw_ttm_bind()
|
/Linux-v5.10/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 61 struct ttm_resource *bo_mem); 530 struct ttm_resource *bo_mem) in radeon_ttm_backend_bind() argument 546 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in radeon_ttm_backend_bind() 549 ttm->num_pages, bo_mem, ttm); in radeon_ttm_backend_bind() 728 struct ttm_resource *bo_mem) in radeon_ttm_tt_bind() argument 734 if (!bo_mem) in radeon_ttm_tt_bind() 738 return ttm_agp_bind(ttm, bo_mem); in radeon_ttm_tt_bind() 741 return radeon_ttm_backend_bind(bdev, ttm, bo_mem); in radeon_ttm_tt_bind()
|
/Linux-v5.10/include/drm/ttm/ |
D | ttm_tt.h | 226 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem);
|
D | ttm_bo_driver.h | 105 int (*ttm_tt_bind)(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct ttm_resource *bo_mem);
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 68 struct ttm_resource *bo_mem); 1112 struct ttm_resource *bo_mem) in amdgpu_ttm_backend_bind() argument 1119 if (!bo_mem) in amdgpu_ttm_backend_bind() 1134 ttm->num_pages, bo_mem, ttm); in amdgpu_ttm_backend_bind() 1137 if (bo_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_ttm_backend_bind() 1138 bo_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_ttm_backend_bind() 1139 bo_mem->mem_type == AMDGPU_PL_OA) in amdgpu_ttm_backend_bind() 1142 if (!amdgpu_gtt_mgr_has_gart_addr(bo_mem)) { in amdgpu_ttm_backend_bind() 1148 flags = amdgpu_ttm_tt_pte_flags(adev, ttm, bo_mem); in amdgpu_ttm_backend_bind() 1151 gtt->offset = (u64)bo_mem->start << PAGE_SHIFT; in amdgpu_ttm_backend_bind()
|