Lines Matching defs:xe

87 static bool resource_is_stolen_vram(struct xe_device *xe, struct ttm_resource *res)  in resource_is_stolen_vram()
159 mem_type_to_migrate(struct xe_device *xe, u32 mem_type) in mem_type_to_migrate()
170 struct xe_device *xe = ttm_to_xe_device(res->bo->bdev); in res_to_mem_region() local
181 static void try_add_system(struct xe_device *xe, struct xe_bo *bo, in try_add_system()
210 static void add_vram(struct xe_device *xe, struct xe_bo *bo, in add_vram()
241 static void try_add_vram(struct xe_device *xe, struct xe_bo *bo, in try_add_vram()
250 static void try_add_stolen(struct xe_device *xe, struct xe_bo *bo, in try_add_stolen()
265 static int __xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in __xe_bo_placement_for_flags()
285 int xe_bo_placement_for_flags(struct xe_device *xe, struct xe_bo *bo, in xe_bo_placement_for_flags()
295 struct xe_device *xe = container_of(tbo->bdev, typeof(*xe), ttm); in xe_evict_flags() local
347 static int xe_tt_map_sg(struct xe_device *xe, struct ttm_tt *tt) in xe_tt_map_sg()
379 static void xe_tt_unmap_sg(struct xe_device *xe, struct ttm_tt *tt) in xe_tt_unmap_sg()
403 static void xe_ttm_tt_account_add(struct xe_device *xe, struct ttm_tt *tt) in xe_ttm_tt_account_add()
413 static void xe_ttm_tt_account_subtract(struct xe_device *xe, struct ttm_tt *tt) in xe_ttm_tt_account_subtract()
427 struct xe_device *xe = ttm_to_xe_device(ttm_dev); in update_global_total_pages() local
440 struct xe_device *xe = xe_bo_device(bo); in xe_ttm_tt_create() local
550 struct xe_device *xe = ttm_to_xe_device(ttm_dev); in xe_ttm_tt_unpopulate() local
580 struct xe_device *xe = ttm_to_xe_device(bdev); in xe_ttm_io_mem_reserve() local
614 static int xe_bo_trigger_rebind(struct xe_device *xe, struct xe_bo *bo, in xe_bo_trigger_rebind()
691 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_bo_move_dmabuf() local
749 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_bo_move_notify() local
791 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_bo_move() local
988 struct xe_device *xe = ttm_to_xe_device(bo->bdev); in xe_bo_shrink_purge() local
1064 struct xe_device *xe = ttm_to_xe_device(bo->bdev); in xe_bo_shrink() local
1121 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); in xe_bo_notifier_prepare_pinned() local
1196 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); in xe_bo_evict_pinned() local
1310 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); in xe_bo_restore_pinned() local
1437 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_ttm_bo_lock_in_destructor() local
1525 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_ttm_bo_purge() local
1556 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_ttm_access_memory() local
1623 struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev); in xe_ttm_bo_destroy() local
1693 struct xe_device *xe = to_xe_device(ddev); in xe_gem_fault() local
1741 struct xe_device *xe = xe_bo_device(bo); in xe_bo_vm_access() local
1824 struct xe_bo *___xe_bo_create_locked(struct xe_device *xe, struct xe_bo *bo, in ___xe_bo_create_locked()
1955 static int __xe_bo_fixed_placement(struct xe_device *xe, in __xe_bo_fixed_placement()
1994 __xe_bo_create_locked(struct xe_device *xe, in __xe_bo_create_locked()
2077 xe_bo_create_locked_range(struct xe_device *xe, in xe_bo_create_locked_range()
2086 struct xe_bo *xe_bo_create_locked(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_locked()
2094 struct xe_bo *xe_bo_create_user(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_user()
2108 struct xe_bo *xe_bo_create(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create()
2120 struct xe_bo *xe_bo_create_pin_map_at(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_pin_map_at()
2129 struct xe_bo *xe_bo_create_pin_map_at_aligned(struct xe_device *xe, in xe_bo_create_pin_map_at_aligned()
2171 struct xe_bo *xe_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile, in xe_bo_create_pin_map()
2183 struct xe_bo *xe_managed_bo_create_pin_map(struct xe_device *xe, struct xe_tile *tile, in xe_managed_bo_create_pin_map()
2202 struct xe_bo *xe_managed_bo_create_from_data(struct xe_device *xe, struct xe_tile *tile, in xe_managed_bo_create_from_data()
2228 int xe_managed_bo_reinit_in_vram(struct xe_device *xe, struct xe_tile *tile, struct xe_bo **src) in xe_managed_bo_reinit_in_vram()
2256 struct xe_device *xe = ttm_to_xe_device(res->bo->bdev); in vram_region_gpu_offset() local
2282 struct xe_device *xe = xe_bo_device(bo); in xe_bo_pin_external() local
2314 struct xe_device *xe = xe_bo_device(bo); in xe_bo_pin() local
2371 struct xe_device *xe = xe_bo_device(bo); in xe_bo_unpin_external() local
2396 struct xe_device *xe = xe_bo_device(bo); in xe_bo_unpin() local
2476 struct xe_device *xe = xe_bo_device(bo); in __xe_bo_addr() local
2508 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); in xe_bo_vmap() local
2556 static int gem_create_set_pxp_type(struct xe_device *xe, struct xe_bo *bo, u64 value) in gem_create_set_pxp_type()
2576 static int gem_create_user_ext_set_property(struct xe_device *xe, in gem_create_user_ext_set_property()
2611 static int gem_create_user_extensions(struct xe_device *xe, struct xe_bo *bo, in gem_create_user_extensions()
2646 struct xe_device *xe = to_xe_device(dev); in xe_gem_create_ioctl() local
2775 struct xe_device *xe = to_xe_device(dev); in xe_gem_mmap_offset_ioctl() local
2904 struct xe_device *xe = ttm_to_xe_device(bo->ttm.bdev); in xe_bo_migrate() local
2982 struct xe_device *xe = xe_bo_device(bo); in xe_bo_needs_ccs_pages() local
3100 struct xe_device *xe = to_xe_device(dev); in xe_bo_dumb_create() local