Chris Wilson <[email protected]> writes:

> Ensure that the hangcheck is queued even in the absence of interrupts.
>

This was rather terse to begin with, but the why became clear from the
context.

Reviewed-by: Mika Kuoppala <[email protected]>

> Signed-off-by: Chris Wilson <[email protected]>
> Cc: Mika Kuoppala <[email protected]>
> ---
>  drivers/gpu/drm/i915/intel_breadcrumbs.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_breadcrumbs.c 
> b/drivers/gpu/drm/i915/intel_breadcrumbs.c
> index 7681bcd2717e..b574cc414d43 100644
> --- a/drivers/gpu/drm/i915/intel_breadcrumbs.c
> +++ b/drivers/gpu/drm/i915/intel_breadcrumbs.c
> @@ -175,6 +175,7 @@ static void __intel_breadcrumbs_enable_irq(struct 
> intel_breadcrumbs *b)
>       if (!b->irq_enabled ||
>           test_bit(engine->id, &i915->gpu_error.missed_irq_rings)) {
>               mod_timer(&b->fake_irq, jiffies + 1);
> +             i915_queue_hangcheck(i915);
>       } else {
>               /* Ensure we never sleep indefinitely */
>               GEM_BUG_ON(!time_after(b->timeout, jiffies));
> -- 
> 2.11.0
>
> _______________________________________________
> Intel-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to