Module: Mesa
Branch: master
Commit: 838374b6dd818b6ca09808c4f922d7486ecbd329
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=838374b6dd818b6ca09808c4f922d7486ecbd329

Author: Tomeu Vizoso <[email protected]>
Date:   Thu Jul 11 16:34:01 2019 +0200

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 <[email protected]>

---

 src/panfrost/midgard/midgard_schedule.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to