[Intel-gfx] [PATCH] drm/i915: Look for an active kernel context before switching

Rodrigo Vivi rodrigo.vivi at intel.com
Tue Jul 10 21:27:05 UTC 2018


On Tue, Jul 10, 2018 at 09:09:07PM +0100, Chris Wilson wrote:
> Quoting Rodrigo Vivi (2018-07-10 20:59:26)
> > Hi Chris, this failed the cherry-pick for drm-intel-fixes, but looking
> > to the log it seems something we want there right?!
> 
> It didn't become crucial until a later patch:
> 
> commit 4dfacb0bcbee79fa2ef4b2e9e64a8f8a28598934
> Author: Chris Wilson <chris at chris-wilson.co.uk>
> Date:   Thu May 31 09:22:43 2018 +0100
> 
>     drm/i915: Switch to kernel context before idling at runtime
> 
> Before that patch we just occasionally emitted one more request that we
> strictly required (bumping suspend times by a few microseconds). With
> that patch, we would hit an infinite loop unless we applied the fix.
> 
> So while it did fix a recent bug, impact is minimal.

Cool then. Thanks for the explanation.

> -Chris
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list