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 <[email protected]>
> Signed-off-by: Nitin Gote <[email protected]>
> Cc: Chris Wilson <[email protected]>
> CC: <[email protected]> # v5.2+
with the commit message fixed and the checkpatch as well, merged
to drm-intel-gt-next.
Thank you,
Andi