summaryrefslogtreecommitdiffstats
path: root/src/panfrost/include
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-12-09 08:41:33 -0500
committerAlyssa Rosenzweig <[email protected]>2019-12-12 11:42:07 -0500
commite6f8ef93cab9d00328fefb63519375279456713b (patch)
treee76f3537d74dba3457c111bc20b28e3b65234403 /src/panfrost/include
parent6c6372770ca110dc7c1933d14225a75cf37efa6d (diff)
panfrost: Split stack_shift nibble from unk0
It's conceptually independent from the upper part (which is not yet understood, but for spilling generally remains equal to 0x1e). Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r--src/panfrost/include/panfrost-job.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h
index 2dbda7e8135..d2334b503f0 100644
--- a/src/panfrost/include/panfrost-job.h
+++ b/src/panfrost/include/panfrost-job.h
@@ -1671,7 +1671,8 @@ struct bifrost_fb_extra {
#define MALI_MFBD_EXTRA (1 << 13)
struct bifrost_framebuffer {
- u32 unk0; // = 0x10
+ u32 stack_shift : 4;
+ u32 unk0 : 28;
u32 unknown2; // = 0x1f, same as SFBD
mali_ptr scratchpad;