[Intel-gfx] [PATCH] drm/i915: Check intel_contexts to avoid one extra pointer chase
Chris Wilson
chris at chris-wilson.co.uk
Fri Jun 1 12:54:01 UTC 2018
Quoting Chris Wilson (2018-06-01 10:40:02)
> As we store the intel_context on the request (rq->hw_context), we can
> simply compare that against the local intel_context for the
> i915->kernel_context rather than using the rq->gem_context.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
Pushed the pair of switch-to-kernel-context related patches, thanks for
the review.
-Chris
More information about the Intel-gfx
mailing list