Searched refs:ttm_bo (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_bo.c | 571 static struct ttm_tt *xe_ttm_tt_create(struct ttm_buffer_object *ttm_bo, in xe_ttm_tt_populate() 574 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_ttm_tt_populate() 629 if (ttm_bo->type != ttm_bo_type_sg) in xe_bo_is_visible_vram() 638 if (ttm_bo->type != ttm_bo_type_sg) { in xe_ttm_io_mem_reserve() 845 static int xe_bo_move_dmabuf(struct ttm_buffer_object *ttm_bo, 848 struct dma_buf_attachment *attach = ttm_bo->base.import_attach; 849 struct xe_ttm_tt *xe_tt = container_of(ttm_bo->ttm, struct xe_ttm_tt, 851 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); 856 xe_assert(xe, ttm_bo->ttm); in xe_bo_set_purgeable_shrinker() 859 ttm_bo in xe_bo_set_purgeable_shrinker() 471 xe_ttm_tt_create(struct ttm_buffer_object * ttm_bo,u32 page_flags) xe_ttm_tt_create() argument 745 xe_bo_move_dmabuf(struct ttm_buffer_object * ttm_bo,struct ttm_resource * new_res) xe_bo_move_dmabuf() argument 808 struct ttm_buffer_object *ttm_bo = &bo->ttm; xe_bo_move_notify() local 857 struct ttm_buffer_object *ttm_bo = &bo->ttm; xe_bo_set_purgeable_shrinker() local 924 xe_ttm_bo_purge(struct ttm_buffer_object * ttm_bo,struct ttm_operation_ctx * ctx) xe_ttm_bo_purge() argument 962 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 1635 struct ttm_buffer_object *ttm_bo = &bo->ttm; xe_bo_dma_unmap_pinned() local 1659 xe_ttm_io_mem_pfn(struct ttm_buffer_object * ttm_bo,unsigned long page_offset) xe_ttm_io_mem_pfn() argument 1680 xe_ttm_bo_lock_in_destructor(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_lock_in_destructor() argument 1701 xe_ttm_bo_release_notify(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_release_notify() argument 1741 xe_ttm_bo_delete_mem_notify(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_delete_mem_notify() argument 1766 xe_ttm_bo_swap_notify(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_swap_notify() argument 1782 xe_ttm_access_memory(struct ttm_buffer_object * ttm_bo,unsigned long offset,void * buf,int len,int write) xe_ttm_access_memory() argument 1851 xe_ttm_bo_destroy(struct ttm_buffer_object * ttm_bo) xe_ttm_bo_destroy() argument 2199 struct ttm_buffer_object *ttm_bo = vma->vm_private_data; xe_bo_vm_access() local [all...] |
| H A D | xe_shrinker.c | 95 struct ttm_buffer_object *ttm_bo; in __xe_shrinker_walk() local 111 ttm_bo_lru_for_each_reserved_guarded(&curs, man, &arg, ttm_bo) { in __xe_shrinker_walk() 112 if (!ttm_bo_shrink_suitable(ttm_bo, ctx)) in __xe_shrinker_walk() 115 lret = xe_bo_shrink(ctx, ttm_bo, flags, scanned); in __xe_shrinker_walk() 126 xe_assert(xe, !IS_ERR(ttm_bo)); in __xe_shrinker_walk()
|