diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-09-28 10:28:48 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-09-30 08:40:13 -0400 |
commit | 12a70ccd9ec7bd4d28bc66a3646942a1a4e055c2 (patch) | |
tree | 6d037b1153d8b2dedf4db22668fa5df0f60282ae | |
parent | 34ff50cadd8157c5f41db301aa26d42af4c708b2 (diff) |
pan/midgard: Allow 6 instructions per bundle
We never had a scheduler good enough to hit this case before! :)
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r-- | src/panfrost/midgard/compiler.h | 5 |
1 files 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; |