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 <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-11-06 09:05:05 +00:00
parent c3d5b1d8fc
commit 22b6a331d0
1 changed files with 2 additions and 0 deletions

View File

@ -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: