summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/gem_stress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_stress.c b/tests/gem_stress.c
index 06867738..751d7067 100644
--- 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);
}