Lines Matching refs:placement
49 .placement = &sys_placement_flags,
69 .placement = tt_placement_flags,
109 return bo->placement.num_placement == 1; in xe_bo_has_single_placement()
235 bo->placement = (struct ttm_placement) { in __xe_bo_placement_for_flags()
237 .placement = bo->placements, in __xe_bo_placement_for_flags()
251 struct ttm_placement *placement) in xe_evict_flags() argument
256 placement->num_placement = 0; in xe_evict_flags()
260 *placement = sys_placement; in xe_evict_flags()
272 *placement = tt_placement; in xe_evict_flags()
276 *placement = sys_placement; in xe_evict_flags()
464 mem->placement & TTM_PL_FLAG_CONTIGUOUS) in xe_ttm_io_mem_reserve()
871 struct ttm_placement placement = { in xe_bo_evict_pinned() local
872 .placement = &place, in xe_bo_evict_pinned()
892 ret = ttm_bo_mem_space(&bo->ttm, &placement, &new_mem, &ctx); in xe_bo_evict_pinned()
960 ret = ttm_bo_mem_space(&bo->ttm, &bo->placement, &new_mem, &ctx); in xe_bo_restore_pinned()
1275 struct ttm_placement *placement; in ___xe_bo_create_locked() local
1343 placement = (type == ttm_bo_type_sg || in ___xe_bo_create_locked()
1345 &bo->placement; in ___xe_bo_create_locked()
1347 placement, alignment, in ___xe_bo_create_locked()
1422 bo->placement = (struct ttm_placement) { in __xe_bo_fixed_placement()
1424 .placement = place, in __xe_bo_fixed_placement()
1866 return ttm_bo_validate(&bo->ttm, &bo->placement, &ctx); in xe_bo_validate()
1981 if (XE_IOCTL_DBG(xe, (args->placement & ~xe->info.mem_region_mask) || in xe_gem_create_ioctl()
1982 !args->placement)) in xe_gem_create_ioctl()
2010 bo_flags |= args->placement << (ffs(XE_BO_FLAG_SYSTEM) - 1); in xe_gem_create_ioctl()
2163 for (cur_place = 0; cur_place < bo->placement.num_placement; in xe_bo_can_migrate()
2200 struct ttm_placement placement; in xe_bo_migrate() local
2215 placement.num_placement = 1; in xe_bo_migrate()
2216 placement.placement = &requested; in xe_bo_migrate()
2230 return ttm_bo_validate(&bo->ttm, &placement, &ctx); in xe_bo_migrate()
2250 struct ttm_placement placement; in xe_bo_evict() local
2253 xe_evict_flags(&bo->ttm, &placement); in xe_bo_evict()
2254 ret = ttm_bo_validate(&bo->ttm, &placement, &ctx); in xe_bo_evict()