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.c436 static struct ttm_tt *xe_ttm_tt_create(struct ttm_buffer_object *ttm_bo, in xe_ttm_tt_create() argument
439 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_ttm_tt_create()
497 if (ttm_bo->type != ttm_bo_type_sg) in xe_ttm_tt_create()
506 if (ttm_bo->type != ttm_bo_type_sg) { in xe_ttm_tt_create()
685 static int xe_bo_move_dmabuf(struct ttm_buffer_object *ttm_bo, in xe_bo_move_dmabuf() argument
688 struct dma_buf_attachment *attach = ttm_bo->base.import_attach; in xe_bo_move_dmabuf()
689 struct xe_ttm_tt *xe_tt = container_of(ttm_bo->ttm, struct xe_ttm_tt, in xe_bo_move_dmabuf()
691 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_bo_move_dmabuf()
696 xe_assert(xe, ttm_bo->ttm); in xe_bo_move_dmabuf()
699 ttm_bo in xe_bo_move_dmabuf()
748 struct ttm_buffer_object *ttm_bo = &bo->ttm; xe_bo_move_notify() local
786 xe_bo_move(struct ttm_buffer_object * ttm_bo,bool evict,struct ttm_operation_ctx * ctx,struct ttm_resource * new_mem,struct ttm_place * hop) xe_bo_move() argument
1389 struct ttm_buffer_object *ttm_bo = &bo->ttm; xe_bo_dma_unmap_pinned() local
1413 xe_ttm_io_mem_pfn(struct ttm_buffer_object * ttm_bo,unsigned long page_offset) xe_ttm_io_mem_pfn() argument
1434 xe_ttm_bo_lock_in_destructor(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_lock_in_destructor() argument
1455 xe_ttm_bo_release_notify(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_release_notify() argument
1502 xe_ttm_bo_delete_mem_notify(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_delete_mem_notify() argument
1522 xe_ttm_bo_purge(struct ttm_buffer_object * ttm_bo,struct ttm_operation_ctx * ctx) xe_ttm_bo_purge() argument
1534 xe_ttm_bo_swap_notify(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_swap_notify() argument
1550 xe_ttm_access_memory(struct ttm_buffer_object * ttm_bo,unsigned long offset,void * buf,int len,int write) xe_ttm_access_memory() argument
1619 xe_ttm_bo_destroy(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_destroy() argument
1738 struct ttm_buffer_object *ttm_bo = vma->vm_private_data; xe_bo_vm_access() local
[all...]
H A Dxe_shrinker.c68 struct ttm_buffer_object *ttm_bo; in __xe_shrinker_walk() local
77 ttm_bo_lru_for_each_reserved_guarded(&curs, man, &arg, ttm_bo) { in __xe_shrinker_walk()
78 if (!ttm_bo_shrink_suitable(ttm_bo, ctx)) in __xe_shrinker_walk()
81 lret = xe_bo_shrink(ctx, ttm_bo, flags, scanned); in __xe_shrinker_walk()
90 xe_assert(xe, !IS_ERR(ttm_bo)); in __xe_shrinker_walk()