From 12a70ccd9ec7bd4d28bc66a3646942a1a4e055c2 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 28 Sep 2019 10:28:48 -0400 Subject: [PATCH] pan/midgard: Allow 6 instructions per bundle We never had a scheduler good enough to hit this case before! :) Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/compiler.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index cf943ea6995..cb7d53dd653 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -198,9 +198,10 @@ typedef struct midgard_bundle { /* Tag for the overall bundle */ int tag; - /* Instructions contained by the bundle */ + /* Instructions contained by the bundle. instruction_count <= 6 (vmul, + * sadd, vadd, smul, vlut, branch) */ int instruction_count; - midgard_instruction *instructions[5]; + midgard_instruction *instructions[6]; /* Bundle-wide ALU configuration */ int padding; -- 2.30.2