Lines Matching refs:batch_size
812 u32 batch_size = 2; /* arb_clear() + MI_BATCH_BUFFER_END */ in xe_migrate_copy() local
834 batch_size += pte_update_size(m, pte_flags, src, &src_it, &src_L0, in xe_migrate_copy()
839 batch_size += pte_update_size(m, pte_flags, dst, &dst_it, &src_L0, in xe_migrate_copy()
846 batch_size += pte_update_size(m, 0, NULL, &ccs_it, &ccs_size, in xe_migrate_copy()
854 batch_size += ((copy_only_ccs) ? 0 : EMIT_COPY_DW) + in xe_migrate_copy()
857 bb = xe_bb_new(gt, batch_size, usm); in xe_migrate_copy()
1090 u32 batch_size, update_idx; in xe_migrate_clear() local
1100 batch_size = 2 + in xe_migrate_clear()
1107 batch_size += EMIT_COPY_CCS_DW; in xe_migrate_clear()
1114 bb = xe_bb_new(gt, batch_size, usm); in xe_migrate_clear()
1323 u32 i, j, batch_size = 0, ppgtt_ofs, update_idx, page_ofs = 0; in __xe_migrate_update_pgtables() local
1340 batch_size += 4 * num_cmds + updates[j].qwords * 2; in __xe_migrate_update_pgtables()
1346 batch_size += 2; in __xe_migrate_update_pgtables()
1348 batch_size += 6 * (num_updates / MAX_PTE_PER_SDI + 1) + in __xe_migrate_update_pgtables()
1351 bb = xe_bb_new(gt, batch_size, usm); in __xe_migrate_update_pgtables()
1622 u32 batch_size = 2; in xe_migrate_vram() local
1638 batch_size += pte_update_cmd_size(len); in xe_migrate_vram()
1639 batch_size += EMIT_COPY_DW; in xe_migrate_vram()
1641 bb = xe_bb_new(gt, batch_size, use_usm_batch); in xe_migrate_vram()