projects
/
platform
/
upstream
/
xf86-video-intel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d5b1d
)
sna: Clear the execlist if we completely unwind a batch after using 8x8 tiling
author
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 6 Nov 2013 09:05:05 +0000
(09:05 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 6 Nov 2013 11:26:01 +0000
(11:26 +0000)
Another location, but the right function this time!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c
patch
|
blob
|
history
diff --git
a/src/sna/sna_accel.c
b/src/sna/sna_accel.c
index
1ac926f
..
77a770a
100644
(file)
--- 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: