aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2021-12-18 16:19:09 -0800
committerJohn Harrison <John.C.Harrison@Intel.com>2021-12-23 12:53:06 -0800
commitcbffbac9c14220b8716b0a9c29d72243f6b14ef3 (patch)
tree1180338eba271fb8044f9efaae138e9b00a5b22a /drivers/gpu/drm/lima/lima_gem.c
parentdrm/i915/guc: Check for wedged before doing stuff (diff)
downloadwireguard-linux-cbffbac9c14220b8716b0a9c29d72243f6b14ef3.tar.xz
wireguard-linux-cbffbac9c14220b8716b0a9c29d72243f6b14ef3.zip
drm/i915: Fix possible uninitialized variable in parallel extension
'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 interface") Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211219001909.24348-1-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions