Lines Matching defs:big
77 bool big = xe_bo_size(bo) >= SZ_2M;
79 const char *str = big ? "Copying big bo" : "Copying small bo";
111 if (!sanity_fence_failed(xe, fence, big ? "Clearing remote big bo" :
129 if (!sanity_fence_failed(xe, fence, big ? "Copying big bo remote -> vram" :
146 if (!sanity_fence_failed(xe, fence, big ? "Copying big bo vram -> remote" :
188 struct xe_bo *pt, *bo = m->pt_bo, *big, *tiny;
203 big = xe_bo_create_pin_map(xe, tile, m->q->vm, SZ_4M,
206 if (IS_ERR(big)) {
207 KUNIT_FAIL(test, "Failed to allocate bo: %li\n", PTR_ERR(big));
299 /* Clear a big bo */
300 kunit_info(test, "Clearing big buffer object\n");
301 xe_map_memset(xe, &big->vmap, 0, 0x11, xe_bo_size(big));
303 fence = xe_migrate_clear(m, big, big->ttm.resource,
305 if (sanity_fence_failed(xe, fence, "Clearing big bo", test))
309 retval = xe_map_rd(xe, &big->vmap, 0, u32);
310 check(retval, expected, "Command clear big first value", test);
311 retval = xe_map_rd(xe, &big->vmap, xe_bo_size(big) - 4, u32);
312 check(retval, expected, "Command clear big last value", test);
314 kunit_info(test, "Copying big buffer object to system\n");
315 test_copy_sysmem(m, big, test);
317 kunit_info(test, "Copying big buffer object to other vram\n");
318 test_copy_vram(m, big, test);
330 xe_bo_unpin(big);
331 xe_bo_put(big);