aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/include
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2020-04-09 09:39:17 +0200
committerTomeu Vizoso <[email protected]>2020-04-24 06:53:21 +0200
commit0a0b670d633b007e0d6394919fa0afa261614d32 (patch)
tree94bd7cf03835c7b3f5a64ad0c39029ddefa8c1de /src/panfrost/include
parent0d6019302eb772b1c399cecc3f5abf1940f0c0d0 (diff)
panfrost: Clean up a bit the tiler structs for Bifrost
And set a fixed hierarchy mask for now that seems to generally work. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4680>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r--src/panfrost/include/panfrost-job.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h
index 2f330d3e547..6bf0b7caf1c 100644
--- a/src/panfrost/include/panfrost-job.h
+++ b/src/panfrost/include/panfrost-job.h
@@ -1028,12 +1028,14 @@ struct bifrost_tiler_heap_meta {
mali_ptr tiler_heap_end;
/* hierarchy weights? but they're still 0 after the job has run... */
- u32 zeros[12];
+ u32 zeros[10];
+ u32 unk1;
+ u32 unk7e007e;
} __attribute__((packed));
struct bifrost_tiler_meta {
u64 zero0;
- u16 hierarchy_mask;
+ u16 hierarchy_mask; /* Five values observed: 0xa, 0x14, 0x28, 0x50, 0xa0 */
u16 flags;
u16 width;
u16 height;