aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/bifrost.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-31 13:04:18 -0400
committerMarge Bot <[email protected]>2020-04-01 02:25:05 +0000
commit0b241c70b6a1f39840aec2fe5db43f0e33221d7b (patch)
tree052512c5371d9b7b45685720e433061cec18a8be /src/panfrost/bifrost/bifrost.h
parent2292e2aa10a3ef77ef4d195c09aad334a18bd080 (diff)
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4396>
Diffstat (limited to 'src/panfrost/bifrost/bifrost.h')
-rw-r--r--src/panfrost/bifrost/bifrost.h4
1 files 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;