Lines Matching full:bb

38 			  struct xe_bb *bb, u32 second_idx, const char *str,  in run_sanity_job()  argument
42 struct xe_sched_job *job = xe_bb_create_migration_job(m->q, bb, in run_sanity_job()
192 struct xe_bb *bb; in xe_migrate_sanity_test() local
233 bb = xe_bb_new(tile->primary_gt, 32, xe->info.has_usm); in xe_migrate_sanity_test()
234 if (IS_ERR(bb)) { in xe_migrate_sanity_test()
236 PTR_ERR(bb)); in xe_migrate_sanity_test()
255 emit_pte(m, bb, NUM_KERNEL_PDE - 1, xe_bo_is_vram(pt), false, in xe_migrate_sanity_test()
258 run_sanity_job(m, xe, bb, bb->len, "Writing PTE for our fake PT", test); in xe_migrate_sanity_test()
265 bb->len = 0; in xe_migrate_sanity_test()
266 bb->cs[bb->len++] = MI_BATCH_BUFFER_END; in xe_migrate_sanity_test()
270 emit_clear(tile->primary_gt, bb, xe_migrate_vm_addr(NUM_KERNEL_PDE - 1, 0), 4, 4, in xe_migrate_sanity_test()
272 run_sanity_job(m, xe, bb, 1, "Writing to our newly mapped pagetable", in xe_migrate_sanity_test()
325 xe_bb_free(bb, NULL); in xe_migrate_sanity_test()
399 struct xe_bb *bb; in blt_copy() local
426 bb = xe_bb_new(gt, batch_size, xe->info.has_usm); in blt_copy()
427 if (IS_ERR(bb)) { in blt_copy()
428 err = PTR_ERR(bb); in blt_copy()
435 emit_pte(m, bb, src_L0_pt, src_is_vram, false, in blt_copy()
441 emit_pte(m, bb, dst_L0_pt, dst_is_vram, false, in blt_copy()
444 bb->cs[bb->len++] = MI_BATCH_BUFFER_END; in blt_copy()
445 update_idx = bb->len; in blt_copy()
447 emit_copy(gt, bb, src_L0_ofs, dst_L0_ofs, src_L0, XE_PAGE_SIZE); in blt_copy()
450 flush_flags = xe_migrate_ccs_copy(m, bb, src_L0_ofs, in blt_copy()
455 job = xe_bb_create_migration_job(m->q, bb, in blt_copy()
476 xe_bb_free(bb, fence); in blt_copy()
481 xe_bb_free(bb, NULL); in blt_copy()