Searched refs:bo_mem (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/ttm/ |
D | ttm_agp_backend.c | 50 static int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) in ttm_agp_bind() argument 53 struct drm_mm_node *node = bo_mem->mm_node; in ttm_agp_bind() 55 int ret, cached = (bo_mem->placement & TTM_PL_FLAG_CACHED); in ttm_agp_bind()
|
D | ttm_tt.c | 260 int ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) in ttm_tt_bind() argument 274 ret = ttm->func->bind(ttm, bo_mem); in ttm_tt_bind()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 673 struct ttm_mem_reg *bo_mem) in amdgpu_ttm_backend_bind() argument 687 ttm->num_pages, bo_mem, ttm); in amdgpu_ttm_backend_bind() 690 if (bo_mem->mem_type == AMDGPU_PL_GDS || in amdgpu_ttm_backend_bind() 691 bo_mem->mem_type == AMDGPU_PL_GWS || in amdgpu_ttm_backend_bind() 692 bo_mem->mem_type == AMDGPU_PL_OA) in amdgpu_ttm_backend_bind() 705 int amdgpu_ttm_bind(struct ttm_buffer_object *bo, struct ttm_mem_reg *bo_mem) in amdgpu_ttm_bind() argument 716 NULL, bo_mem); in amdgpu_ttm_bind() 722 flags = amdgpu_ttm_tt_pte_flags(gtt->adev, ttm, bo_mem); in amdgpu_ttm_bind() 723 gtt->offset = (u64)bo_mem->start << PAGE_SHIFT; in amdgpu_ttm_bind() 741 struct ttm_mem_reg bo_mem; in amdgpu_ttm_recover_gart() local [all …]
|
D | amdgpu_ttm.h | 88 int amdgpu_ttm_bind(struct ttm_buffer_object *bo, struct ttm_mem_reg *bo_mem);
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_ttm.c | 295 struct ttm_mem_reg *bo_mem) in virtio_gpu_ttm_backend_bind() argument 299 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in virtio_gpu_ttm_backend_bind() 302 ttm->num_pages, bo_mem, ttm); in virtio_gpu_ttm_backend_bind()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_buffer.c | 560 static int vmw_ttm_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) in vmw_ttm_bind() argument 570 vmw_be->gmr_id = bo_mem->start; in vmw_ttm_bind() 571 vmw_be->mem_type = bo_mem->mem_type; in vmw_ttm_bind() 573 switch (bo_mem->mem_type) { in vmw_ttm_bind()
|
/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 265 struct ttm_mem_reg *bo_mem) in qxl_ttm_backend_bind() argument 269 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in qxl_ttm_backend_bind() 272 ttm->num_pages, bo_mem, ttm); in qxl_ttm_backend_bind()
|
/drivers/gpu/drm/radeon/ |
D | radeon_ttm.c | 632 struct ttm_mem_reg *bo_mem) in radeon_ttm_backend_bind() argument 644 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); in radeon_ttm_backend_bind() 647 ttm->num_pages, bo_mem, ttm); in radeon_ttm_backend_bind()
|