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

2017-01-16 Thread Joonas Lahtinen
On la, 2017-01-14 at 16:23 +, 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 conve

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

2017-01-14 Thread Chris Wilson
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 t

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

2017-01-10 Thread Chris Wilson
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 t