Re: [Intel-gfx] [PATCH] drm/i915: Fix possible uninitialized variable in parallel extension

2021-12-19 Thread Lucas De Marchi
On Sat, Dec 18, 2021 at 04:19:09PM -0800, Matthew Brost wrote: 'prev_engine' was declared inside the output loop and checked in the inner after at least 1 pass of either loop. The variable should be declared outside both loops as it needs to be persistent across the entire loop structure. Fixes:

[Intel-gfx] [PATCH] drm/i915: Fix possible uninitialized variable in parallel extension

2021-12-18 Thread Matthew Brost
'prev_engine' was declared inside the output loop and checked in the inner after at least 1 pass of either loop. The variable should be declared outside both loops as it needs to be persistent across the entire loop structure. Fixes: e5e32171a2cf ("drm/i915/guc: Connect UAPI to GuC multi-lrc inter