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 <[email protected]> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43427 > Signed-off-by: Chris Wilson <[email protected]> > Cc: [email protected]
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 <[email protected]> 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 <[email protected]> Cheers, Daniel -- Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
