Home
last modified time | relevance | path

Searched refs:USED_BATCH (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.h79 #define USED_BATCH(batch) ((uintptr_t)((batch).map_next - (batch).map)) macro
101 - USED_BATCH(*batch) * 4; in intel_batchbuffer_space()
127 brw->batch.emit = USED_BATCH(brw->batch); in intel_batchbuffer_begin()
137 unsigned int _n = USED_BATCH(*batch) - batch->emit; in intel_batchbuffer_advance()
Dintel_batchbuffer.c104 if (USED_BATCH(brw->batch) == 0) in intel_batchbuffer_reset_to_saved()
158 USED_BATCH(*batch)); in do_batch_dump()
167 USED_BATCH(*batch)); in do_batch_dump()
330 ret = drm_intel_bo_subdata(batch->bo, 0, 4 * USED_BATCH(*batch), batch->map); in do_flush_locked()
356 ret = drm_intel_bo_mrb_exec(batch->bo, 4 * USED_BATCH(*batch), in do_flush_locked()
360 4 * USED_BATCH(*batch), flags); in do_flush_locked()
387 if (USED_BATCH(brw->batch) == 0) in _intel_batchbuffer_flush()
396 int bytes_for_commands = 4 * USED_BATCH(brw->batch); in _intel_batchbuffer_flush()
412 if (USED_BATCH(brw->batch) & 1) { in _intel_batchbuffer_flush()
Dbrw_state_batch.c91 4 * USED_BATCH(brw->batch)); in brw_annotate_aub()
140 offset < 4 * USED_BATCH(*batch) + batch->reserved_space) { in __brw_state_batch()
Dbrw_urb.c253 if ((USED_BATCH(brw->batch) & 15) > 12) { in brw_upload_urb_fence()
254 int pad = 16 - (USED_BATCH(brw->batch) & 15); in brw_upload_urb_fence()
DgenX_blorp_exec.c213 uint32_t saved_used = USED_BATCH(brw->batch); in genX()
247 assert((USED_BATCH(brw->batch) - saved_used) * 4 + in genX()