Hi Nitin, On Thu, Jul 11, 2024 at 10:02:08PM +0530, Nitin Gote wrote: > We're seeing a GPU HANG issue on a CHV platform, which was caused by > bac24f59f454 ("drm/i915/execlists: Enable coarse preemption boundaries for > gen8"). > > Gen8 platform has only timeslice and doesn't support a preemption mechanism > as engines do not have a preemption timer and doesn't send an irq if the > preemption timeout expires. So, add a fix to not consider preemption > during dequeuing for gen8 platforms. > > v2: Simplify can_preempt() function (Tvrtko Ursulin) > > v3: > - Inside need_preempt(), condition of can_preempt() is not required > as simplified can_preempt() is enough. (Chris Wilson) > > Fixes: bac24f59f454 ("drm/i915/execlists: Enable coarse preemption boundaries > for gen8") > Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11396 > Suggested-by: Andi Shyti <andi.sh...@intel.com> > Signed-off-by: Nitin Gote <nitin.r.g...@intel.com> > Cc: Chris Wilson <chris.p.wil...@linux.intel.com> > CC: <sta...@vger.kernel.org> # v5.2+
with the commit message fixed and the checkpatch as well, merged to drm-intel-gt-next. Thank you, Andi