From: Tomeu Vizoso Date: Thu, 11 Jul 2019 14:34:01 +0000 (+0200) Subject: Revert "panfrost/midgard: Use _safe iterator" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=838374b6dd818b6ca09808c4f922d7486ecbd329;p=mesa.git Revert "panfrost/midgard: Use _safe iterator" This reverts commit 812ce2ce9e5655613eae740926176509897122fa. We massively regress with the reverted patch. So in the meantime, take it out. Signed-off-by: Tomeu Vizoso --- diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index 3e78020f6d6..7a3841e4d44 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -504,7 +504,7 @@ schedule_block(compiler_context *ctx, midgard_block *block) block->quadword_count = 0; - mir_foreach_instr_in_block_safe(block, ins) { + mir_foreach_instr_in_block(block, ins) { int skip; midgard_bundle bundle = schedule_bundle(ctx, block, ins, &skip); util_dynarray_append(&block->bundles, midgard_bundle, bundle);