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>
This commit is contained in:
Daniel Vetter 2014-03-11 15:44:28 +01:00
parent e2ee8b4080
commit c3f2b6a339

View File

@ -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);