Searched refs:bo_mem (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/ttm/ |
D | ttm_agp_backend.c | 51 static int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_mem_reg *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()
|
D | ttm_tt.c | 322 int ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem, in ttm_tt_bind() argument 337 ret = ttm->func->bind(ttm, bo_mem); in ttm_tt_bind()
|
/Linux-v5.4/include/drm/ttm/ |
D | ttm_tt.h | 63 int (*bind) (struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem); 186 int ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem,
|
/Linux-v5.4/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 210 struct ttm_mem_reg *bo_mem) in qxl_ttm_backend_bind() argument 214 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in qxl_ttm_backend_bind() 217 ttm->num_pages, bo_mem, ttm); in qxl_ttm_backend_bind()
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_buffer.c | 579 static int vmw_ttm_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) in vmw_ttm_bind() argument 589 vmw_be->gmr_id = bo_mem->start; in vmw_ttm_bind() 590 vmw_be->mem_type = bo_mem->mem_type; in vmw_ttm_bind() 592 switch (bo_mem->mem_type) { in vmw_ttm_bind()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 1043 struct ttm_mem_reg *bo_mem) in amdgpu_ttm_backend_bind() argument 1059 ttm->num_pages, bo_mem, ttm); in amdgpu_ttm_backend_bind() 1062 if (bo_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_ttm_backend_bind() 1063 bo_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_ttm_backend_bind() 1064 bo_mem->mem_type == AMDGPU_PL_OA) in amdgpu_ttm_backend_bind() 1067 if (!amdgpu_gtt_mgr_has_gart_addr(bo_mem)) { in amdgpu_ttm_backend_bind() 1073 flags = amdgpu_ttm_tt_pte_flags(adev, ttm, bo_mem); in amdgpu_ttm_backend_bind() 1076 gtt->offset = (u64)bo_mem->start << PAGE_SHIFT; in amdgpu_ttm_backend_bind()
|
/Linux-v5.4/drivers/gpu/drm/virtio/ |
D | virtgpu_ttm.c | 196 struct ttm_mem_reg *bo_mem) in virtio_gpu_ttm_tt_bind() argument
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 577 struct ttm_mem_reg *bo_mem) in radeon_ttm_backend_bind() argument 589 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in radeon_ttm_backend_bind() 592 ttm->num_pages, bo_mem, ttm); in radeon_ttm_backend_bind()
|