Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_bo.c290 struct xe_ttm_tt *xe_tt = container_of(tt, struct xe_ttm_tt, ttm); in xe_tt_map_sg() local
296 if (xe_tt->sg) in xe_tt_map_sg()
299 ret = sg_alloc_table_from_pages_segment(&xe_tt->sgt, tt->pages, in xe_tt_map_sg()
302 xe_sg_segment_size(xe_tt->dev), in xe_tt_map_sg()
307 xe_tt->sg = &xe_tt->sgt; in xe_tt_map_sg()
308 ret = dma_map_sgtable(xe_tt->dev, xe_tt->sg, DMA_BIDIRECTIONAL, in xe_tt_map_sg()
311 sg_free_table(xe_tt->sg); in xe_tt_map_sg()
312 xe_tt->sg = NULL; in xe_tt_map_sg()
321 struct xe_ttm_tt *xe_tt = container_of(tt, struct xe_ttm_tt, ttm); in xe_tt_unmap_sg() local
323 if (xe_tt->sg) { in xe_tt_unmap_sg()
[all …]