[Intel-gfx] [PATCH] drm/i915: Wait for all fences before installing an exclusive clflush fence

Chris Wilson chris at chris-wilson.co.uk
Thu Mar 23 12:08:56 UTC 2017


On Thu, Mar 23, 2017 at 01:55:33PM +0200, Mika Kuoppala wrote:
> Chris Wilson <chris at chris-wilson.co.uk> writes:
> 
> > Ensure that before we overwrite the reservation_object with our
> > exclusive fence for the pending clflush operation, that we do wait upon
> > all the fences in the current reservation_object.
> >
> > Fixes: 57822dc6b9cf ("drm/i915: Perform object clflushing asynchronously")
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> > Cc: Matthew Auld <matthew.auld at intel.com>
> 
> Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>

Thanks, I realised my mistake when doing async page loading. Now you've
read this patch, you should be ready for those...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list