Lines Matching defs:bo

87 bool xe_bo_is_vram(struct xe_bo *bo)  in xe_bo_is_vram()
93 bool xe_bo_is_stolen(struct xe_bo *bo) in xe_bo_is_stolen()
107 bool xe_bo_has_single_placement(struct xe_bo *bo) in xe_bo_has_single_placement()
121 bool xe_bo_is_stolen_devmem(struct xe_bo *bo) in xe_bo_is_stolen_devmem()
127 static bool xe_bo_is_user(struct xe_bo *bo) in xe_bo_is_user()
152 static void try_add_system(struct xe_device *xe, struct xe_bo *bo, in try_add_system()
174 static void add_vram(struct xe_device *xe, struct xe_bo *bo, in add_vram()
202 static void try_add_vram(struct xe_device *xe, struct xe_bo *bo, in try_add_vram()
211 static void try_add_stolen(struct xe_device *xe, struct xe_bo *bo, in try_add_stolen()
226 static int __xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in __xe_bo_placement_for_flags()
246 int xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in xe_bo_placement_for_flags()
336 struct sg_table *xe_bo_sg(struct xe_bo *bo) in xe_bo_sg()
347 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_ttm_tt_create() local
493 static int xe_bo_trigger_rebind(struct xe_device *xe, struct xe_bo *bo, in xe_bo_trigger_rebind()
615 static int xe_bo_move_notify(struct xe_bo *bo, in xe_bo_move_notify()
662 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_bo_move() local
885 int xe_bo_evict_pinned(struct xe_bo *bo) in xe_bo_evict_pinned()
954 int xe_bo_restore_pinned(struct xe_bo *bo) in xe_bo_restore_pinned()
1007 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_ttm_io_mem_pfn() local
1051 struct xe_bo *bo; in xe_ttm_bo_release_notify() local
1145 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_ttm_access_memory() local
1205 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_ttm_bo_destroy() local
1258 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_gem_object_close() local
1274 struct xe_bo *bo = ttm_to_xe_bo(tbo); in xe_gem_fault() local
1320 struct xe_bo *bo = ttm_to_xe_bo(ttm_bo); in xe_bo_vm_access() local
1342 int xe_bo_read(struct xe_bo *bo, u64 offset, void *dst, int size) in xe_bo_read()
1385 struct xe_bo *bo = kzalloc(sizeof(*bo), GFP_KERNEL); in xe_bo_alloc() local
1399 void xe_bo_free(struct xe_bo *bo) in xe_bo_free()
1404 struct xe_bo *___xe_bo_create_locked(struct xe_device *xe, struct xe_bo *bo, in ___xe_bo_create_locked()
1537 struct xe_bo *bo, in __xe_bo_fixed_placement()
1581 struct xe_bo *bo = NULL; in __xe_bo_create_locked() local
1679 struct xe_bo *bo = __xe_bo_create_locked(xe, tile, vm, size, 0, ~0ULL, in xe_bo_create_user() local
1692 struct xe_bo *bo = xe_bo_create_locked(xe, tile, vm, size, type, flags); in xe_bo_create() local
1716 struct xe_bo *bo; in xe_bo_create_pin_map_at_aligned() local
1762 struct xe_bo *bo = xe_bo_create_pin_map(xe, tile, NULL, in xe_bo_create_from_data() local
1781 struct xe_bo *bo; in xe_managed_bo_create_pin_map() local
1798 struct xe_bo *bo = xe_managed_bo_create_pin_map(xe, tile, ALIGN(size, PAGE_SIZE), flags); in xe_managed_bo_create_from_data() local
1823 struct xe_bo *bo; in xe_managed_bo_reinit_in_vram() local
1866 int xe_bo_pin_external(struct xe_bo *bo) in xe_bo_pin_external()
1898 int xe_bo_pin(struct xe_bo *bo) in xe_bo_pin()
1967 void xe_bo_unpin_external(struct xe_bo *bo) in xe_bo_unpin_external()
1989 void xe_bo_unpin(struct xe_bo *bo) in xe_bo_unpin()
2022 int xe_bo_validate(struct xe_bo *bo, struct xe_vm *vm, bool allow_res_evict) in xe_bo_validate()
2042 bool xe_bo_is_xe_bo(struct ttm_buffer_object *bo) in xe_bo_is_xe_bo()
2056 dma_addr_t __xe_bo_addr(struct xe_bo *bo, u64 offset, size_t page_size) in __xe_bo_addr()
2081 dma_addr_t xe_bo_addr(struct xe_bo *bo, u64 offset, size_t page_size) in xe_bo_addr()
2088 int xe_bo_vmap(struct xe_bo *bo) in xe_bo_vmap()
2124 static void __xe_bo_vunmap(struct xe_bo *bo) in __xe_bo_vunmap()
2132 void xe_bo_vunmap(struct xe_bo *bo) in xe_bo_vunmap()
2145 struct xe_bo *bo; in xe_gem_create_ioctl() local
2292 int xe_bo_lock(struct xe_bo *bo, bool intr) in xe_bo_lock()
2308 void xe_bo_unlock(struct xe_bo *bo) in xe_bo_unlock()
2328 bool xe_bo_can_migrate(struct xe_bo *bo, u32 mem_type) in xe_bo_can_migrate()
2368 int xe_bo_migrate(struct xe_bo *bo, u32 mem_type) in xe_bo_migrate()
2419 int xe_bo_evict(struct xe_bo *bo, bool force_alloc) in xe_bo_evict()
2448 bool xe_bo_needs_ccs_pages(struct xe_bo *bo) in xe_bo_needs_ccs_pages()
2490 struct xe_bo *bo, *next; in xe_bo_put_commit() local
2503 void xe_bo_put(struct xe_bo *bo) in xe_bo_put()
2536 struct xe_bo *bo; in xe_bo_dumb_create() local
2563 void xe_bo_runtime_pm_release_mmap_offset(struct xe_bo *bo) in xe_bo_runtime_pm_release_mmap_offset()