[Intel-gfx] [PATCH] drm/i915: Export a function to flush the context upon pinning
Chris Wilson
chris at chris-wilson.co.uk
Tue Nov 1 14:28:30 UTC 2016
On Mon, Oct 31, 2016 at 03:28:08PM +0000, Matthew Auld wrote:
> On 30 October 2016 at 13:28, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > For legacy contexts we employ an optimisation to only flush the context
> > when binding into the global GTT. This avoids stalling onthe GPU when
> > reloading an active context. Wrap this detail up into a helper and
> > export it for a potential third user. (Longer term, context pinning
> > needs to be reworked as the current handling of switch context pins too
> > late and so risks eviction and corrupting the request. Plans, plans, plans.)
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> s/onthe/on the/
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>
Ta, one less thing for i915_perf.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list