From: Chris Wilson Date: Wed, 6 Nov 2013 09:05:05 +0000 (+0000) Subject: sna: Clear the execlist if we completely unwind a batch after using 8x8 tiling X-Git-Tag: 2.99.906~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22b6a331d0a102e8a8b9fcac1d75f8c9e16596b6;p=platform%2Fupstream%2Fxf86-video-intel.git sna: Clear the execlist if we completely unwind a batch after using 8x8 tiling Another location, but the right function this time! Signed-off-by: Chris Wilson --- diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 1ac926f..77a770a 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -11701,6 +11701,8 @@ sna_poly_fill_rect_tiled_8x8_blt(DrawablePtr drawable, if (sna->kgem.nbatch == unwind_batch + 8) { sna->kgem.nbatch = unwind_batch; sna->kgem.nreloc = unwind_reloc; + if (sna->kgem.nbatch == 0) + kgem_bo_undo(&sna->kgem, bo); } } done: