Lines Matching refs:batch_start
1118 unsigned long batch_start = w->bb_sz; in terminate_bb() local
1124 batch_start -= sizeof(uint32_t); /* bbend */ in terminate_bb()
1126 batch_start -= 4 * sizeof(uint32_t); in terminate_bb()
1128 batch_start -= 12 * sizeof(uint32_t); in terminate_bb()
1131 batch_start -= 4 * sizeof(uint32_t); /* MI_ARB_CHK + MI_BATCH_BUFFER_START */ in terminate_bb()
1133 mmap_start = rounddown(batch_start, PAGE_SIZE); in terminate_bb()
1140 cs = (uint32_t *)((char *)ptr + batch_start - mmap_start); in terminate_bb()
1143 w->reloc[r++].offset = batch_start + 2 * sizeof(uint32_t); in terminate_bb()
1144 batch_start += 4 * sizeof(uint32_t); in terminate_bb()
1154 w->reloc[r++].offset = batch_start + sizeof(uint32_t); in terminate_bb()
1155 batch_start += 4 * sizeof(uint32_t); in terminate_bb()
1166 w->reloc[r++].offset = batch_start + sizeof(uint32_t); in terminate_bb()
1167 batch_start += 4 * sizeof(uint32_t); in terminate_bb()
1176 w->reloc[r++].offset = batch_start + 2 * sizeof(uint32_t); in terminate_bb()
1177 batch_start += 4 * sizeof(uint32_t); in terminate_bb()
1185 w->reloc[r++].offset = batch_start + sizeof(uint32_t); in terminate_bb()
1186 batch_start += 4 * sizeof(uint32_t); in terminate_bb()