[PATCH v3] drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8
Andi Shyti
andi.shyti at linux.intel.com
Tue Jul 16 09:54:56 UTC 2024
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.shyti at intel.com>
> Signed-off-by: Nitin Gote <nitin.r.gote at intel.com>
> Cc: Chris Wilson <chris.p.wilson at linux.intel.com>
> CC: <stable at vger.kernel.org> # v5.2+
with the commit message fixed and the checkpatch as well, merged
to drm-intel-gt-next.
Thank you,
Andi
More information about the Intel-gfx
mailing list