From 22b6a331d0a102e8a8b9fcac1d75f8c9e16596b6 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 6 Nov 2013 09:05:05 +0000 Subject: [PATCH] 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 --- src/sna/sna_accel.c | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.7.4