Mesa (master): pan/bi: Use STAGE srcs for scheduler nops

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


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

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

pan/bi: Use STAGE srcs for scheduler nops

..rather than using port 0 for the source, which may or may not actually
exist.

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

---

 src/panfrost/bifrost/bifrost.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h
index 1a016286608..19d284e555b 100644
--- a/src/panfrost/bifrost/bifrost.h
+++ b/src/panfrost/bifrost/bifrost.h
@@ -492,8 +492,8 @@ struct bifrost_branch {
 
 /* Clause packing */
 
-#define BIFROST_FMA_NOP (0x701960)
-#define BIFROST_ADD_NOP (0x3D960)
+#define BIFROST_FMA_NOP (0x701960 | BIFROST_SRC_STAGE)
+#define BIFROST_ADD_NOP (0x3D960 | BIFROST_SRC_STAGE)
 
 struct bifrost_fmt1 {
         unsigned ins_0 : 3;



More information about the mesa-commit mailing list