Lines Matching defs:batch
43 struct intel_batchbuffer *batch = &brw->intel.batch;
50 batch->bo->size / 32);
73 * Generate a set of aub file annotations for the current batch buffer, and
76 * The "used" section of the batch buffer (the portion containing batch
78 * batch buffer (which contains data structures pointed to by batch commands)
90 4*intel->batch.used);
101 drm_intel_bufmgr_gem_set_aub_annotations(intel->batch.bo, annotations,
114 * checking performance hacks, we can't have the batch point at a
115 * separate indirect state buffer, because once the batch points at
126 struct intel_batchbuffer *batch = &brw->intel.batch;
129 assert(size < batch->bo->size);
130 offset = ROUND_DOWN_TO(batch->state_batch_offset - size, alignment);
133 * if the batch's used space (plus the reserved pad) collides with our
136 if (batch->state_batch_offset < size ||
137 offset < 4*batch->used + batch->reserved_space) {
139 offset = ROUND_DOWN_TO(batch->state_batch_offset - size, alignment);
142 batch->state_batch_offset = offset;
148 return batch->map + (offset>>2);