From b6b13bf9dfe2973f6aab3a6ef87995c310fe2244 Mon Sep 17 00:00:00 2001 From: Calder Young Date: Mon, 4 May 2026 23:16:15 -0700 Subject: [PATCH] isl: Make sure isl_device::requires_padding is always initialized We have to make sure all fields are being initialized in isl_device_init, the isl_device struct is not guaranteed to be zero-initialized Fixes: 8d13628f ("isl: Add additional alignment/padding requirements to prevent overfetch") Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/isl/isl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c index cfaf5f9ae38..59e33da89f4 100644 --- a/src/intel/isl/isl.c +++ b/src/intel/isl/isl.c @@ -325,6 +325,7 @@ isl_device_init(struct isl_device *dev, dev->has_bit6_swizzling = info->has_bit6_swizzle; dev->buffer_length_in_aux_addr = false; dev->sampler_route_to_lsc = false; + dev->requires_padding = false; /* The ISL_DEV macros may be defined in the CFLAGS, thus hardcoding some * device properties at buildtime. Verify that the macros with the device