diff options
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | 2020-10-02 13:54:09 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | 2020-10-10 16:53:10 -0400 |
commit | d2fac19999b0e298c5ea790b77ea11d6cd891a65 (patch) | |
tree | 3b25b5bceb15574a0b6d5a25f427fd030fc99205 /src/panfrost | |
parent | 785344e655540fc4869e66260b371552ac348877 (diff) |
pan/bi: Expand clause type to 5-bit
The upper bit is reserved.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7081>
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/bifrost/bifrost.h | 6 | ||||
-rw-r--r-- | src/panfrost/bifrost/disassemble.c | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h index 055e8d49f7d..98f89aaea7a 100644 --- a/src/panfrost/bifrost/bifrost.h +++ b/src/panfrost/bifrost/bifrost.h @@ -99,10 +99,8 @@ struct bifrost_header { unsigned staging_register : 6; unsigned scoreboard_deps: 8; unsigned scoreboard_index: 3; - enum bifrost_clause_type clause_type: 4; - unsigned unk3 : 1; // part of clauseType? - enum bifrost_clause_type next_clause_type: 4; - unsigned unk4 : 1; // part of nextClauseType? + enum bifrost_clause_type clause_type : 5; + enum bifrost_clause_type next_clause_type : 5; } __attribute__((packed)); enum bifrost_packed_src { diff --git a/src/panfrost/bifrost/disassemble.c b/src/panfrost/bifrost/disassemble.c index 7827885debf..1141a3c3329 100644 --- a/src/panfrost/bifrost/disassemble.c +++ b/src/panfrost/bifrost/disassemble.c @@ -134,10 +134,6 @@ static void dump_header(FILE *fp, struct bifrost_header header, bool verbose) if (header.unk2) fprintf(fp, "unk2 "); - if (header.unk3) - fprintf(fp, "unk3 "); - if (header.unk4) - fprintf(fp, "unk4 "); if (header.terminate_discarded_threads) fprintf(fp, "td "); |