From 0b241c70b6a1f39840aec2fe5db43f0e33221d7b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 31 Mar 2020 13:04:18 -0400 Subject: [PATCH] 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 Part-of: --- 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; -- 2.30.2