On Wed, Mar 21, 2012 at 10:48:18AM +0000, Chris Wilson wrote: > The BLT commands on gen2/3 utilize the fence registers and so we cannot > modify any fences for the object whilst those commands are in flight. > Currently we marked tiled commands as occupying a fence, but forgot to > restrict the untiled commands from preventing a fence being assigned > before they were completed. > > One side-effect is that we ten have to double check that a fence was > allocated for a fenced buffer during move-to-active. > > Reported-by: Jiri Slaby <jirisl...@gmail.com> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43427 > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> > Cc: sta...@kernel.org
I've had a few comments on irc about a preliminary version of this patch, and Chris addressed them all. So Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch> Futhermore I've stitched together a little testcase in i-g-t, and it indeed blows up without this patch. So Testcase: i-g-t/tests/gem_tiled_after_untiled_blt Tested-by: Daniel Vetter <daniel.vet...@ffwll.ch> Cheers, Daniel -- Daniel Vetter Mail: dan...@ffwll.ch Mobile: +41 (0)79 365 57 48 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx