Lines Matching defs:batch
15 * Number of bytes to reserve for commands necessary to complete a batch.
19 * - Optional MI_NOOP for ensuring the batch length is qword aligned (4 bytes)
83 return (intel->batch.state_batch_offset - intel->batch.reserved_space)
84 - intel->batch.used*4;
94 intel->batch.map[intel->batch.used++] = dword;
109 intel->batch.is_blit != is_blit && intel->batch.used) {
113 intel->batch.is_blit = is_blit;
116 assert(sz < sizeof(intel->batch.map) - BATCH_RESERVED);
127 intel->batch.emit = intel->batch.used;
129 intel->batch.total = n;
137 struct intel_batchbuffer *batch = &intel->batch;
138 unsigned int _n = batch->used - batch->emit;
139 assert(batch->total != 0);
140 if (_n != batch->total) {
142 _n, batch->total);
145 batch->total = 0;