Mesa (master): pan/bi: Don't set the back-to-back bit yet

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Apr 1 02:42:47 UTC 2020


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

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Mar 31 13:05:02 2020 -0400

pan/bi: Don't set the back-to-back bit yet

This is bad for performance but we can't assume it's true without some
analysis, which we presently don't do. Leave it for future work and
don't break the present.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4396>

---

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

diff --git a/src/panfrost/bifrost/bi_schedule.c b/src/panfrost/bifrost/bi_schedule.c
index 0f72fc12713..b3f7ca605c3 100644
--- a/src/panfrost/bifrost/bi_schedule.c
+++ b/src/panfrost/bifrost/bi_schedule.c
@@ -139,7 +139,7 @@ bi_schedule(bi_context *ctx)
 
                         ids = ids & 1;
                         last_id = u->scoreboard_id;
-                        u->back_to_back = true;
+                        u->back_to_back = false;
 
                         u->constant_count = 1;
                         u->constants[0] = ins->constant.u64;



More information about the mesa-commit mailing list