Lines Matching refs:tile

76 	struct xe_device *xe = tile_to_xe(m->tile);  in test_copy()
83 struct xe_bo *remote = xe_bo_create_locked(xe, m->tile, NULL, in test_copy()
189 struct xe_tile *tile = m->tile; in xe_migrate_sanity_test() local
190 struct xe_device *xe = tile_to_xe(tile); in xe_migrate_sanity_test()
197 u8 id = tile->id; in xe_migrate_sanity_test()
205 big = xe_bo_create_pin_map(xe, tile, m->q->vm, SZ_4M, in xe_migrate_sanity_test()
207 XE_BO_FLAG_VRAM_IF_DGFX(tile), in xe_migrate_sanity_test()
214 pt = xe_bo_create_pin_map(xe, tile, m->q->vm, XE_PAGE_SIZE, in xe_migrate_sanity_test()
216 XE_BO_FLAG_VRAM_IF_DGFX(tile), in xe_migrate_sanity_test()
224 tiny = xe_bo_create_pin_map(xe, tile, m->q->vm, in xe_migrate_sanity_test()
227 XE_BO_FLAG_VRAM_IF_DGFX(tile), in xe_migrate_sanity_test()
235 bb = xe_bb_new(tile->primary_gt, 32, xe->info.has_usm); in xe_migrate_sanity_test()
272 emit_clear(tile->primary_gt, bb, xe_migrate_vm_addr(NUM_KERNEL_PDE - 1, 0), 4, 4, in xe_migrate_sanity_test()
344 struct xe_tile *tile; in migrate_test_run_device() local
348 for_each_tile(tile, xe, id) { in migrate_test_run_device()
349 struct xe_migrate *m = tile->migrate; in migrate_test_run_device()
368 static struct dma_fence *blt_copy(struct xe_tile *tile, in blt_copy() argument
372 struct xe_gt *gt = tile->primary_gt; in blt_copy()
373 struct xe_migrate *m = tile->migrate; in blt_copy()
494 static void test_migrate(struct xe_device *xe, struct xe_tile *tile, in test_migrate() argument
506 fence = blt_copy(tile, sys_bo, vram_bo, false, "Blit copy from sysmem to vram", test); in test_migrate()
532 fence = blt_copy(tile, vram_bo, ccs_bo, in test_migrate()
571 fence = blt_copy(tile, vram_bo, ccs_bo, in test_migrate()
582 static void test_clear(struct xe_device *xe, struct xe_tile *tile, in test_clear() argument
591 fence = blt_copy(tile, sys_bo, vram_bo, false, "Blit copy from sysmem to vram", test); in test_clear()
599 fence = blt_copy(tile, vram_bo, sys_bo, false, "Blit copy from vram to sysmem", test); in test_clear()
610 fence = xe_migrate_clear(tile->migrate, vram_bo, vram_bo->ttm.resource, in test_clear()
616 fence = blt_copy(tile, vram_bo, sys_bo, in test_clear()
626 fence = blt_copy(tile, vram_bo, sys_bo, in test_clear()
637 static void validate_ccs_test_run_tile(struct xe_device *xe, struct xe_tile *tile, in validate_ccs_test_run_tile() argument
641 unsigned int bo_flags = XE_BO_FLAG_VRAM_IF_DGFX(tile); in validate_ccs_test_run_tile()
720 test_clear(xe, tile, sys_bo, vram_bo, test); in validate_ccs_test_run_tile()
721 test_migrate(xe, tile, sys_bo, vram_bo, ccs_bo, exec, test); in validate_ccs_test_run_tile()
746 struct xe_tile *tile; in validate_ccs_test_run_device() local
760 for_each_tile(tile, xe, id) in validate_ccs_test_run_device()
761 validate_ccs_test_run_tile(xe, tile, test); in validate_ccs_test_run_device()