Lines Matching refs:big
77 bool big = xe_bo_size(bo) >= SZ_2M; in test_copy() local
79 const char *str = big ? "Copying big bo" : "Copying small bo"; in test_copy()
111 if (!sanity_fence_failed(xe, fence, big ? "Clearing remote big bo" : in test_copy()
129 if (!sanity_fence_failed(xe, fence, big ? "Copying big bo remote -> vram" : in test_copy()
146 if (!sanity_fence_failed(xe, fence, big ? "Copying big bo vram -> remote" : in test_copy()
188 struct xe_bo *pt, *bo = m->pt_bo, *big, *tiny; in xe_migrate_sanity_test() local
203 big = xe_bo_create_pin_map(xe, tile, m->q->vm, SZ_4M, in xe_migrate_sanity_test()
206 if (IS_ERR(big)) { in xe_migrate_sanity_test()
207 KUNIT_FAIL(test, "Failed to allocate bo: %li\n", PTR_ERR(big)); in xe_migrate_sanity_test()
301 xe_map_memset(xe, &big->vmap, 0, 0x11, xe_bo_size(big)); in xe_migrate_sanity_test()
303 fence = xe_migrate_clear(m, big, big->ttm.resource, in xe_migrate_sanity_test()
309 retval = xe_map_rd(xe, &big->vmap, 0, u32); in xe_migrate_sanity_test()
311 retval = xe_map_rd(xe, &big->vmap, xe_bo_size(big) - 4, u32); in xe_migrate_sanity_test()
315 test_copy_sysmem(m, big, test); in xe_migrate_sanity_test()
318 test_copy_vram(m, big, test); in xe_migrate_sanity_test()
330 xe_bo_unpin(big); in xe_migrate_sanity_test()
331 xe_bo_put(big); in xe_migrate_sanity_test()