From 6b2457e75c28d60c3045c6d3d7d8f6d9f08d25d6 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 18 May 2019 21:04:33 +0000 Subject: panfrost: Fix Bifrost-specific padding Signed-off-by: Alyssa Rosenzweig Reviewed-by: Ryan Houdek --- src/gallium/drivers/panfrost/include/panfrost-job.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/gallium/drivers/panfrost/include') diff --git a/src/gallium/drivers/panfrost/include/panfrost-job.h b/src/gallium/drivers/panfrost/include/panfrost-job.h index 046a115a073..f4f145890de 100644 --- a/src/gallium/drivers/panfrost/include/panfrost-job.h +++ b/src/gallium/drivers/panfrost/include/panfrost-job.h @@ -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)); -- cgit v1.2.3