projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
652d9eb
)
gem_stress: submit batch if there's only one fence left
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 21 Mar 2011 21:13:18 +0000
(22:13 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 21 Mar 2011 21:13:18 +0000
(22:13 +0100)
... for a copy might use up to two fences!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_stress.c
patch
|
blob
|
history
diff --git
a/tests/gem_stress.c
b/tests/gem_stress.c
index
0686773
..
751d706
100644
(file)
--- a/
tests/gem_stress.c
+++ b/
tests/gem_stress.c
@@
-287,7
+287,7
@@
static void blitter_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned s
if (dst->tiling)
fence_storm--;
- if (fence_storm <=
0
) {
+ if (fence_storm <=
1
) {
fence_storm = 0;
intel_batchbuffer_flush(batch);
}