[Intel-gfx] [PATCH 2/2] drm/i915: Skip switch to kernel context if already done

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Mon Jan 16 11:45:32 UTC 2017

On la, 2017-01-14 at 16:23 +0000, Chris Wilson wrote:
> Some engines are never user or already sitting idle in the kernel
> context and for those we can skip flushing the current context for
> i915_gem_switch_to_kernel_context(). We used to perform this
> optimisation but that was removed for convenience of converting over to
> multiple timelines and handling the pending request queues.
> From the perspective of writing selftests, reducing the number of
> background operations on the engines makes defining assertions easier.
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
Joonas Lahtinen
Open Source Technology Center
Intel Corporation

More information about the Intel-gfx mailing list