From c3f2b6a339e002c2ea3c0462ebce2a374b54e093 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 11 Mar 2014 15:44:28 +0100 Subject: [PATCH] tests/gem_exec_blt: More reasonable runtime Doing (1 << 18) - 1 repeats isn't really. With the reduced time the test is also useful in some shell scripted tests which need some real load (but not too much), like drv_missed_irq_hang. Signed-off-by: Daniel Vetter --- tests/gem_exec_blt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_exec_blt.c b/tests/gem_exec_blt.c index ea8c46c3..bac11f10 100644 --- a/tests/gem_exec_blt.c +++ b/tests/gem_exec_blt.c @@ -234,7 +234,7 @@ static void run(int object_size) i915_execbuffer2_set_context_id(execbuf, 0); execbuf.rsvd2 = 0; - for (count = 1; count <= 1<<17; count <<= 1) { + for (count = 1; count <= 1<<12; count <<= 1) { struct timeval start, end; gettimeofday(&start, NULL);