diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-19 08:41:51 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-20 07:48:04 -0700 |
commit | 0aa5d89acbc44a68320281000fcd2547505f76c6 (patch) | |
tree | 588c37ee931369c0c3fda870b54fdea7a9c97192 /src/gallium/drivers/panfrost/include | |
parent | 4f881237c38f43e63ec931e0d406a1531dcd6ba7 (diff) |
panfrost/decode: Identify "compute FBD"
There is fundamentally not a framebuffer associated with a compute job.
Allocate a new structure for it so we don't mess up graphics when
decoding.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/include')
-rw-r--r-- | src/gallium/drivers/panfrost/include/panfrost-job.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/include/panfrost-job.h b/src/gallium/drivers/panfrost/include/panfrost-job.h index 80ce66fa7e2..4b3c788e4e9 100644 --- a/src/gallium/drivers/panfrost/include/panfrost-job.h +++ b/src/gallium/drivers/panfrost/include/panfrost-job.h @@ -1406,6 +1406,13 @@ struct mali_single_framebuffer { /* More below this, maybe */ } __attribute__((packed)); +/* On Midgard, this "framebuffer descriptor" is used for the framebuffer field + * of compute jobs. Superficially resembles a single framebuffer descriptor */ + +struct mali_compute_fbd { + u32 unknown[64]; +} __attribute__((packed)); + /* Format bits for the render target flags */ #define MALI_MFBD_FORMAT_MSAA (1 << 1) |