Home
last modified time | relevance | path

Searched refs:ttm_bo (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_bo.c344 static struct ttm_tt *xe_ttm_tt_create(struct ttm_buffer_object *ttm_bo, in xe_ttm_tt_create() argument
347 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_ttm_tt_create()
564 static int xe_bo_move_dmabuf(struct ttm_buffer_object *ttm_bo, in xe_bo_move_dmabuf() argument
567 struct dma_buf_attachment *attach = ttm_bo->base.import_attach; in xe_bo_move_dmabuf()
568 struct xe_ttm_tt *xe_tt = container_of(ttm_bo->ttm, struct xe_ttm_tt, in xe_bo_move_dmabuf()
570 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_bo_move_dmabuf()
574 xe_assert(xe, ttm_bo->ttm); in xe_bo_move_dmabuf()
579 if (ttm_bo->sg) { in xe_bo_move_dmabuf()
580 dma_buf_unmap_attachment(attach, ttm_bo->sg, DMA_BIDIRECTIONAL); in xe_bo_move_dmabuf()
581 ttm_bo->sg = NULL; in xe_bo_move_dmabuf()
[all …]
/linux/drivers/gpu/drm/ttm/
H A DMakefile5 ttm-y := ttm_tt.o ttm_bo.o ttm_bo_util.o ttm_bo_vm.o ttm_module.o \