Searched refs:ttm_bo (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_bo.c | 472 static struct ttm_tt *xe_ttm_tt_create(struct ttm_buffer_object *ttm_bo, in xe_ttm_tt_create() argument 475 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_ttm_tt_create() 533 if (ttm_bo->type != ttm_bo_type_sg) in xe_ttm_tt_create() 542 if (ttm_bo->type != ttm_bo_type_sg) { in xe_ttm_tt_create() 738 static int xe_bo_move_dmabuf(struct ttm_buffer_object *ttm_bo, in xe_bo_move_dmabuf() argument 741 struct dma_buf_attachment *attach = ttm_bo->base.import_attach; in xe_bo_move_dmabuf() 742 struct xe_ttm_tt *xe_tt = container_of(ttm_bo->ttm, struct xe_ttm_tt, in xe_bo_move_dmabuf() 744 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_bo_move_dmabuf() 749 xe_assert(xe, ttm_bo->ttm); in xe_bo_move_dmabuf() 752 ttm_bo->sg) { in xe_bo_move_dmabuf() [all …]
|
| H A D | xe_shrinker.c | 68 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()
|