linux-stable/drivers/gpu/drm/i915/gem
Matthew Brost 0f9d36af8f 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: e5e32171a2 ("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
(cherry picked from commit cbffbac9c1)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2021-12-27 11:33:34 +02:00
..
selftests drm/i915/selftests: mark up hugepages object with start_cpu_write 2021-10-20 16:50:42 +01:00
i915_gem_busy.c drm/i915: Update I915_GEM_BUSY IOCTL to understand composite fences 2021-10-15 10:45:51 -07:00
i915_gem_clflush.c drm/i915: Drop error handling from dma_fence_work 2021-07-16 21:47:39 +02:00
i915_gem_clflush.h
i915_gem_context.c drm/i915: Fix possible uninitialized variable in parallel extension 2021-12-27 11:33:34 +02:00
i915_gem_context.h drm/i915/pxp: interfaces for using protected objects 2021-10-04 13:11:00 -04:00
i915_gem_context_types.h drm/i915/guc: Connect UAPI to GuC multi-lrc interface 2021-10-15 10:45:50 -07:00
i915_gem_create.c drm/i915/pxp: interfaces for using protected objects 2021-10-04 13:11:00 -04:00
i915_gem_dmabuf.c drm next/fixes for 5.16-rc1 2021-11-12 12:11:07 -08:00
i915_gem_domain.c drm/i915/uapi: reject set_domain for discrete 2021-07-23 11:55:32 +01:00
i915_gem_execbuffer.c drm/i915: Fix error pointer dereference in i915_gem_do_execbuffer() 2021-12-08 12:44:26 -05:00
i915_gem_internal.c drm/i915: mark up internal objects with start_cpu_write 2021-10-20 16:50:25 +01:00
i915_gem_ioctls.h drm/i915/uapi: introduce drm_i915_gem_create_ext 2021-05-04 10:58:56 +01:00
i915_gem_lmem.c drm/i915/gem: Fix a lockdep warning the __i915_gem_is_lmem() function 2021-09-24 08:17:39 +02:00
i915_gem_lmem.h drm/i915/guc: put all guc objects in lmem when available 2021-09-20 12:35:41 -07:00
i915_gem_mman.c drm/i915: remove IS_ACTIVE 2021-10-07 11:04:05 -07:00
i915_gem_mman.h
i915_gem_object.c drm/i915: extract bypass-llc check into helper 2021-10-20 16:50:18 +01:00
i915_gem_object.h drm/i915: extract bypass-llc check into helper 2021-10-20 16:50:18 +01:00
i915_gem_object_types.h drm/i915: expand on the kernel-doc for cache_dirty 2021-10-20 16:50:24 +01:00
i915_gem_pages.c drm/i915: Remove allow_alloc from i915_gem_object_get_sg* 2021-07-16 21:47:07 +02:00
i915_gem_phys.c drm/i915: Update object placement flags to be mutable 2021-06-24 18:50:56 +01:00
i915_gem_pm.c drm/i915: Reduce the number of objects subject to memcpy recover 2021-09-24 08:19:16 +02:00
i915_gem_pm.h drm/i915 Implement LMEM backup and restore for suspend / resume 2021-09-24 08:19:11 +02:00
i915_gem_region.c drm/i915/gem: Implement a function to process all gem objects of a region 2021-09-24 08:19:09 +02:00
i915_gem_region.h drm/i915/gem: Implement a function to process all gem objects of a region 2021-09-24 08:19:09 +02:00
i915_gem_shmem.c drm/i915/shmem: ensure flush during swap-in on non-LLC 2021-10-20 16:50:22 +01:00
i915_gem_shrinker.c drm/i915: Fix runtime pm handling in i915_gem_shrink 2021-10-05 11:52:47 +03:00
i915_gem_shrinker.h drm/i915: Finally remove obj->mm.lock. 2021-03-24 17:47:20 +01:00
i915_gem_stolen.c Merge tag 'drm-intel-next-2021-08-10-1' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-08-12 11:20:17 +10:00
i915_gem_stolen.h drm/i915/ttm Initialize the ttm device and memory managers 2021-06-02 13:21:24 +01:00
i915_gem_throttle.c
i915_gem_tiling.c drm/i915/gem: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:43 -07:00
i915_gem_ttm.c Merge tag 'drm-intel-gt-next-2021-10-08' of git://anongit.freedesktop.org/drm/drm-intel into drm-next 2021-10-11 18:09:39 +10:00
i915_gem_ttm.h drm/i915 Implement LMEM backup and restore for suspend / resume 2021-09-24 08:19:11 +02:00
i915_gem_ttm_pm.c drm/i915: Reduce the number of objects subject to memcpy recover 2021-09-24 08:19:16 +02:00
i915_gem_ttm_pm.h drm/i915 Implement LMEM backup and restore for suspend / resume 2021-09-24 08:19:11 +02:00
i915_gem_userptr.c drm/i915/userptr: add paranoid flush-on-acquire 2021-10-20 16:50:21 +01:00
i915_gem_wait.c drm/i915/gem: Implement object migration 2021-06-30 11:32:11 +01:00
i915_gemfs.c drm/i915: Use Transparent Hugepages when IOMMU is enabled 2021-09-10 14:29:19 +01:00
i915_gemfs.h