Searched refs:USED_BATCH (Results 1 – 3 of 3) sorted by relevance
77 #define USED_BATCH(_batch) \ macro97 brw->batch.emit = USED_BATCH(brw->batch); in intel_batchbuffer_begin()107 unsigned int _n = USED_BATCH(*batch) - batch->emit; in intel_batchbuffer_advance()
324 if (USED_BATCH(brw->batch) == 0) in intel_batchbuffer_reset_to_saved()537 const unsigned batch_used = USED_BATCH(*batch) * 4; in intel_batchbuffer_require_space()655 if (USED_BATCH(brw->batch) & 1) { in brw_finish_batch()765 memcpy(bo_map, batch->batch.map, 4 * USED_BATCH(*batch)); in submit_batch()827 4 * USED_BATCH(*batch), in submit_batch()835 4 * USED_BATCH(*batch), in submit_batch()865 if (USED_BATCH(brw->batch) == 0) in _intel_batchbuffer_flush_fence()883 int bytes_for_commands = 4 * USED_BATCH(brw->batch); in _intel_batchbuffer_flush_fence()914 if (!brw->frontend_noop || USED_BATCH(brw->batch) != 0) in intel_batchbuffer_maybe_noop()
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()