Searched refs:USED_BATCH (Results 1 – 3 of 3) sorted by relevance
67 #define USED_BATCH(_batch) \ macro87 brw->batch.emit = USED_BATCH(brw->batch); in intel_batchbuffer_begin()97 unsigned int _n = USED_BATCH(*batch) - batch->emit; in intel_batchbuffer_advance()
246 if (USED_BATCH(brw->batch) == 0) in intel_batchbuffer_reset_to_saved()451 const unsigned batch_used = USED_BATCH(*batch) * 4; in intel_batchbuffer_require_space()524 uint32_t *end = batch_data + USED_BATCH(*batch); in do_batch_dump()782 if (USED_BATCH(brw->batch) & 1) { in brw_finish_batch()897 memcpy(bo_map, batch->batch.map, 4 * USED_BATCH(*batch)); in submit_batch()961 4 * USED_BATCH(*batch), in submit_batch()996 if (USED_BATCH(brw->batch) == 0) in _intel_batchbuffer_flush_fence()1014 int bytes_for_commands = 4 * USED_BATCH(brw->batch); in _intel_batchbuffer_flush_fence()
260 if ((USED_BATCH(brw->batch) & 15) > 12) { in brw_upload_urb_fence()261 int pad = 16 - (USED_BATCH(brw->batch) & 15); in brw_upload_urb_fence()