[Intel-gfx] [PATCH] drm/i915: Export a function to flush the context upon pinning

Matthew Auld matthew.william.auld at gmail.com
Mon Oct 31 15:28:08 UTC 2016


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>


More information about the Intel-gfx mailing list