Searched refs:bo_mem (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/ttm/
H A Dttm_agp_backend.c51 static int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) ttm_agp_bind() argument
54 struct drm_mm_node *node = bo_mem->mm_node; ttm_agp_bind()
56 int ret, cached = (bo_mem->placement & TTM_PL_FLAG_CACHED); ttm_agp_bind()
H A Dttm_tt.c265 int ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) ttm_tt_bind() argument
279 ret = ttm->func->bind(ttm, bo_mem); ttm_tt_bind()
/linux-4.4.14/drivers/gpu/drm/virtio/
H A Dvirtgpu_ttm.c295 struct ttm_mem_reg *bo_mem) virtio_gpu_ttm_backend_bind()
299 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); virtio_gpu_ttm_backend_bind()
302 ttm->num_pages, bo_mem, ttm); virtio_gpu_ttm_backend_bind()
294 virtio_gpu_ttm_backend_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) virtio_gpu_ttm_backend_bind() argument
/linux-4.4.14/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c264 struct ttm_mem_reg *bo_mem) qxl_ttm_backend_bind()
268 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); qxl_ttm_backend_bind()
271 ttm->num_pages, bo_mem, ttm); qxl_ttm_backend_bind()
263 qxl_ttm_backend_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) qxl_ttm_backend_bind() argument
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c584 struct ttm_mem_reg *bo_mem) amdgpu_ttm_backend_bind()
587 uint32_t flags = amdgpu_ttm_tt_pte_flags(gtt->adev, ttm, bo_mem); amdgpu_ttm_backend_bind()
597 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); amdgpu_ttm_backend_bind()
600 ttm->num_pages, bo_mem, ttm); amdgpu_ttm_backend_bind()
603 if (bo_mem->mem_type == AMDGPU_PL_GDS || amdgpu_ttm_backend_bind()
604 bo_mem->mem_type == AMDGPU_PL_GWS || amdgpu_ttm_backend_bind()
605 bo_mem->mem_type == AMDGPU_PL_OA) amdgpu_ttm_backend_bind()
583 amdgpu_ttm_backend_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) amdgpu_ttm_backend_bind() argument
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_buffer.c560 static int vmw_ttm_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) vmw_ttm_bind() argument
570 vmw_be->gmr_id = bo_mem->start; vmw_ttm_bind()
571 vmw_be->mem_type = bo_mem->mem_type; vmw_ttm_bind()
573 switch (bo_mem->mem_type) { vmw_ttm_bind()
/linux-4.4.14/include/drm/ttm/
H A Dttm_bo_driver.h50 * @bo_mem: Pointer to a struct ttm_mem_reg describing the
54 * indicated by @bo_mem. This function should be able to handle
57 int (*bind) (struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem);
600 * @bo_mem: The struct ttm_mem_reg identifying the binding location.
602 * Bind the pages of @ttm to an aperture location identified by @bo_mem
604 extern int ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem);
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c622 struct ttm_mem_reg *bo_mem) radeon_ttm_backend_bind()
634 gtt->offset = (unsigned long)(bo_mem->start << PAGE_SHIFT); radeon_ttm_backend_bind()
637 ttm->num_pages, bo_mem, ttm); radeon_ttm_backend_bind()
621 radeon_ttm_backend_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem) radeon_ttm_backend_bind() argument

Completed in 362 milliseconds