From fde66f9bf4de6240422e64b24dd1a74577cd6128 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 6 Jun 2011 20:15:44 +0200 Subject: [PATCH] gem_stress: disable fence storm when only using untiled buffers This explains why gem_stress -u worked beforehand - the rendercpy was not actually used! Signed-off-by: Daniel Vetter --- tests/gem_stress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/gem_stress.c b/tests/gem_stress.c index a94fe35..a55caf7 100644 --- a/tests/gem_stress.c +++ b/tests/gem_stress.c @@ -317,7 +317,8 @@ static void next_copyfunc(int tile) return; } - if (copyfunc_seq % 61 == 0) { + if (copyfunc_seq % 61 == 0 + && options.forced_tiling != I915_TILING_NONE) { if (tile == options.trace_tile) printf(" using fence storm\n"); fence_storm = num_fences; -- 2.7.4