Lines Matching defs:big
106 bool big = bo->size >= SZ_2M;
108 const char *str = big ? "Copying big bo" : "Copying small bo";
138 if (!sanity_fence_failed(xe, fence, big ? "Clearing remote big bo" :
156 if (!sanity_fence_failed(xe, fence, big ? "Copying big bo remote -> vram" :
173 if (!sanity_fence_failed(xe, fence, big ? "Copying big bo vram -> remote" :
266 struct xe_bo *pt, *bo = m->pt_bo, *big, *tiny;
281 big = xe_bo_create_pin_map(xe, tile, m->q->vm, SZ_4M,
285 if (IS_ERR(big)) {
286 KUNIT_FAIL(test, "Failed to allocate bo: %li\n", PTR_ERR(big));
379 /* Clear a big bo */
380 kunit_info(test, "Clearing big buffer object\n");
381 xe_map_memset(xe, &big->vmap, 0, 0x11, big->size);
383 fence = xe_migrate_clear(m, big, big->ttm.resource);
384 if (sanity_fence_failed(xe, fence, "Clearing big bo", test))
388 retval = xe_map_rd(xe, &big->vmap, 0, u32);
389 check(retval, expected, "Command clear big first value", test);
390 retval = xe_map_rd(xe, &big->vmap, big->size - 4, u32);
391 check(retval, expected, "Command clear big last value", test);
393 kunit_info(test, "Copying big buffer object to system\n");
394 test_copy_sysmem(m, big, test);
396 kunit_info(test, "Copying big buffer object to other vram\n");
397 test_copy_vram(m, big, test);
414 xe_bo_unpin(big);
415 xe_bo_put(big);