Lines Matching refs:sys_bo

492 			 struct xe_bo *sys_bo, struct xe_bo *vram_bo, struct xe_bo *ccs_bo,  in test_migrate()  argument
501 xe_map_memset(xe, &sys_bo->vmap, 0, 0xd0, xe_bo_size(sys_bo)); in test_migrate()
503 fence = blt_copy(tile, sys_bo, vram_bo, false, "Blit copy from sysmem to vram", test); in test_migrate()
580 struct xe_bo *sys_bo, struct xe_bo *vram_bo, struct kunit *test) in test_clear() argument
586 xe_map_memset(xe, &sys_bo->vmap, 0, 0xd0, xe_bo_size(sys_bo)); in test_clear()
588 fence = blt_copy(tile, sys_bo, vram_bo, false, "Blit copy from sysmem to vram", test); in test_clear()
596 fence = blt_copy(tile, vram_bo, sys_bo, false, "Blit copy from vram to sysmem", test); in test_clear()
598 retval = xe_map_rd(xe, &sys_bo->vmap, 0, u64); in test_clear()
600 retval = xe_map_rd(xe, &sys_bo->vmap, xe_bo_size(sys_bo) - 8, u64); in test_clear()
613 fence = blt_copy(tile, vram_bo, sys_bo, in test_clear()
616 retval = xe_map_rd(xe, &sys_bo->vmap, 0, u64); in test_clear()
618 retval = xe_map_rd(xe, &sys_bo->vmap, xe_bo_size(sys_bo) - 8, u64); in test_clear()
623 fence = blt_copy(tile, vram_bo, sys_bo, in test_clear()
626 retval = xe_map_rd(xe, &sys_bo->vmap, 0, u64); in test_clear()
628 retval = xe_map_rd(xe, &sys_bo->vmap, xe_bo_size(sys_bo) - 8, u64); in test_clear()
637 struct xe_bo *sys_bo, *vram_bo = NULL, *ccs_bo = NULL; in validate_ccs_test_run_tile() local
641 sys_bo = xe_bo_create_user(xe, NULL, NULL, SZ_4M, in validate_ccs_test_run_tile()
647 if (IS_ERR(sys_bo)) { in validate_ccs_test_run_tile()
649 PTR_ERR(sys_bo)); in validate_ccs_test_run_tile()
653 xe_bo_lock(sys_bo, false); in validate_ccs_test_run_tile()
654 ret = xe_bo_validate(sys_bo, NULL, false); in validate_ccs_test_run_tile()
660 ret = xe_bo_vmap(sys_bo); in validate_ccs_test_run_tile()
665 xe_bo_unlock(sys_bo); in validate_ccs_test_run_tile()
715 test_clear(xe, tile, sys_bo, vram_bo, test); in validate_ccs_test_run_tile()
716 test_migrate(xe, tile, sys_bo, vram_bo, ccs_bo, test); in validate_ccs_test_run_tile()
727 xe_bo_lock(sys_bo, false); in validate_ccs_test_run_tile()
728 xe_bo_vunmap(sys_bo); in validate_ccs_test_run_tile()
729 xe_bo_unlock(sys_bo); in validate_ccs_test_run_tile()
735 xe_bo_put(sys_bo); in validate_ccs_test_run_tile()