[Intel-gfx] [PATCH] drm/i915: Pin relocations for the duration of constructing the execbuffer

Daniel Vetter daniel at ffwll.ch
Wed Nov 27 09:05:45 CET 2013


On Tue, Nov 26, 2013 at 11:23:50PM -0800, Ben Widawsky wrote:
> On Tue, Nov 26, 2013 at 11:23:15AM +0000, Chris Wilson wrote:
> > As the execbuffer dispatch grows ever more complex and involves multiple
> > stages of moving objects into the aperture, we need to take greater care
> > that we do not evict our execbuffer objects prior to dispatch. This is
> > relatively simple as we can just keep the objects pinned for not just
> > the relocation but until we are finished.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Ben Widawsky <benjamin.widawsky at intel.com>
> > Cc: Daniel Vetter <daniel at ffwll.ch>
> > Cc: stable at vger.kernel.org
> 
> To be honest, I don't quite see the actual issue, but the problem
> description, and solution make sense to me. I've also been running with
> the patch quite a bit on HSW.
> 
> Acked-by: Ben Widawsky <ben at bwidawsk.net>
> Tested-by: Ben Widawsky <ben at bwidawsk.net>

Picked up for -fixes, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list