Commit 02f3af2a authored by Samuel Pitoiset's avatar Samuel Pitoiset Committed by Eric Anholt

radv: fix size of sqtt_file_chunk_asic_info on 32-bit system

The struct is actually 716 bytes, but on 64-bit systems the compiler
aligns it to 720. Add padding to make sure it's always 720.

Closes: #2580
Closes: #2578Signed-off-by: Samuel Pitoiset's avatarSamuel Pitoiset <>
Tested-by: Marge Bot <!3996>
Part-of: <!3996>
parent 33f604a3
Pipeline #114140 passed with stages
in 14 minutes and 7 seconds
......@@ -270,6 +270,7 @@ struct sqtt_file_chunk_asic_info {
uint32_t lds_granularity;
uint16_t cu_mask[SQTT_MAX_NUM_SE][SQTT_SA_PER_SE];
char reserved1[128];
char padding[4];
static_assert(sizeof(struct sqtt_file_chunk_asic_info) == 720,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment