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:
ef842d2
)
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 09:05:05 +0000
(09:05 +0000)
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
3176a77
..
1ac926f
100644
(file)
--- a/
src/sna/sna_accel.c
+++ b/
src/sna/sna_accel.c
@@
-15151,6
+15151,8
@@
skip:
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);
}
assert_pixmap_damage(pixmap);