summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-11 15:44:28 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-11 15:44:28 +0100
commitc3f2b6a339e002c2ea3c0462ebce2a374b54e093 (patch)
treeaa9ace8cb55575272de04ec5dd2aededea586022 /tests
parente2ee8b408057e5139182f47e980f3af20272fa28 (diff)
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 <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_exec_blt.c2
1 files changed, 1 insertions, 1 deletions
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);