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

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 10 20:09:07 UTC 2018


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.
-Chris


More information about the Intel-gfx mailing list