diff options
author | Tomeu Vizoso <[email protected]> | 2020-04-24 11:30:03 +0200 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2020-05-01 16:51:36 +0200 |
commit | 28902ba87e7166688157ea3ba0593eb1a60a5d9b (patch) | |
tree | b3db41bae2e8c459a469d61cf55c1e194e7aad47 /src/panfrost | |
parent | 7f130e76ea2b7925d6177b3baa57fe1f9dab55f4 (diff) |
panfrost: Split bit out of format.unk3
On Bifrost traces, we can observe that this bit is always enabled.
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4832>
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/include/panfrost-job.h | 3 | ||||
-rw-r--r-- | src/panfrost/pandecode/decode.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index d3a538ab53a..827f9287d4f 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -1637,7 +1637,8 @@ struct mali_rt_format { unsigned nr_channels : 2; /* MALI_POSITIVE */ - unsigned unk3 : 5; + unsigned unk3 : 4; + unsigned unk4 : 1; enum mali_block_format block : 2; unsigned flags : 4; diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 48b179ab69e..743abc00d13 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -991,6 +991,7 @@ pandecode_rt_format(struct mali_rt_format format) pandecode_prop("unk1 = 0x%" PRIx32, format.unk1); pandecode_prop("unk2 = 0x%" PRIx32, format.unk2); pandecode_prop("unk3 = 0x%" PRIx32, format.unk3); + pandecode_prop("unk4 = 0x%" PRIx32, format.unk4); pandecode_prop("block = %s", pandecode_block_format(format.block)); |