panfrost: Fix Bifrost-specific padding

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Ryan Houdek <Sonicadvance1@gmail.com>
This commit is contained in:
Alyssa Rosenzweig 2019-05-18 21:04:33 +00:00
parent 7b5217ad70
commit 6b2457e75c

View file

@ -1032,13 +1032,6 @@ struct mali_vertex_tiler_postfix {
* in vertex and tiler jobs.
*/
mali_ptr framebuffer;
#ifdef __LP64__
#ifdef BIFROST
/* most likely padding to make this a multiple of 64 bytes */
u64 zero7;
#endif
#endif
} __attribute__((packed));
struct midgard_payload_vertex_tiler {
@ -1082,6 +1075,7 @@ struct bifrost_payload_fused {
struct mali_vertex_tiler_prefix prefix;
struct bifrost_tiler_only tiler;
struct mali_vertex_tiler_postfix tiler_postfix;
u64 padding; /* zero */
struct bifrost_vertex_only vertex;
struct mali_vertex_tiler_postfix vertex_postfix;
} __attribute__((packed));