Lines Matching defs:xe
315 struct xe_device *xe = to_xe_device(dev);
321 if (ttm_resource_manager_evict_all(&xe->ttm, man))
330 ttm_set_driver_manager(&xe->ttm, mgr->mem_type, NULL);
335 int __xe_ttm_vram_mgr_init(struct xe_device *xe, struct xe_ttm_vram_mgr *mgr,
349 ttm_resource_manager_init(man, &xe->ttm, size);
354 ttm_set_driver_manager(&xe->ttm, mem_type, &mgr->manager);
357 return drmm_add_action_or_reset(&xe->drm, ttm_vram_mgr_fini, mgr);
362 struct xe_device *xe = tile_to_xe(tile);
366 return __xe_ttm_vram_mgr_init(xe, mgr, XE_PL_VRAM0 + tile->id,
371 int xe_ttm_vram_mgr_alloc_sgt(struct xe_device *xe,
378 struct xe_tile *tile = &xe->tiles[res->mem_type - XE_PL_VRAM0];