From: Alyssa Rosenzweig Date: Sat, 28 Sep 2019 14:28:48 +0000 (-0400) Subject: pan/midgard: Allow 6 instructions per bundle X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=12a70ccd9ec7bd4d28bc66a3646942a1a4e055c2;p=mesa.git pan/midgard: Allow 6 instructions per bundle We never had a scheduler good enough to hit this case before! :) Signed-off-by: Alyssa Rosenzweig --- 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;