Lines Matching defs:batch
287 tex_cache_flush_hack(struct iris_batch *batch,
291 const struct intel_device_info *devinfo = &batch->screen->devinfo;
303 * If the BO hasn't been referenced yet this batch, we assume that the
318 iris_emit_pipe_control_flush(batch, reason, PIPE_CONTROL_CS_STALL);
319 iris_emit_pipe_control_flush(batch, reason,
369 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER];
370 enum blorp_batch_flags blorp_flags = iris_blorp_flags_for_batch(batch);
466 blorp_batch_init(&ice->blorp, &blorp_batch, batch, blorp_flags);
501 iris_emit_buffer_barrier_for(batch, src_res->bo,
522 iris_emit_buffer_barrier_for(batch, dst_res->bo,
525 if (iris_batch_references(batch, src_res->bo))
526 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format);
538 iris_batch_maybe_flush(batch, 1500);
539 iris_batch_sync_region_start(batch);
550 iris_batch_sync_region_end(batch);
553 tex_cache_flush_hack(batch, src_fmt.fmt, src_res->surf.format);
567 const struct iris_batch *batch,
619 if (batch->name == IRIS_BATCH_BLITTER) {
650 struct iris_batch *batch,
665 batch->name == IRIS_BATCH_BLITTER ? IRIS_DOMAIN_OTHER_WRITE
670 get_copy_region_aux_settings(ice, batch, src_res, src_level,
672 get_copy_region_aux_settings(ice, batch, dst_res, dst_level,
675 if (iris_batch_references(batch, src_res->bo))
676 tex_cache_flush_hack(batch, ISL_FORMAT_UNSUPPORTED, src_res->surf.format);
681 enum blorp_batch_flags blorp_flags = iris_blorp_flags_for_batch(batch);
683 blorp_batch_init(blorp, &blorp_batch, batch, blorp_flags);
700 iris_emit_buffer_barrier_for(batch, src_res->bo,
702 iris_emit_buffer_barrier_for(batch, dst_res->bo, write_domain);
704 iris_batch_maybe_flush(batch, 1500);
706 iris_batch_sync_region_start(batch);
708 iris_batch_sync_region_end(batch);
725 iris_emit_buffer_barrier_for(batch, src_res->bo,
727 iris_emit_buffer_barrier_for(batch, dst_res->bo, write_domain);
730 iris_batch_maybe_flush(batch, 1500);
732 iris_batch_sync_region_start(batch);
737 iris_batch_sync_region_end(batch);
746 tex_cache_flush_hack(batch, ISL_FORMAT_UNSUPPORTED, src_res->surf.format);
765 struct iris_batch *batch = &ice->batches[IRIS_BATCH_RENDER];
767 iris_copy_region(&ice->blorp, batch, p_dst, dst_level, dstx, dsty, dstz,
776 iris_copy_region(&ice->blorp, batch, &s_dst_res->base.b, dst_level, dstx,