diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-02-13 16:29:02 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-02-13 18:09:11 +0100 |
commit | 50c45f9586843bb3b83d9bed5d9738145ba05866 (patch) | |
tree | 00a6fc46ec2fe1d4dd0b053ee28b6ec24c30e98a /tests | |
parent | bb33d08845db2cf368240e737090ca3938b5ba64 (diff) |
tests: Add a quick variant to the gem_storedw_* tests
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_storedw_batches_loop.c | 2 | ||||
-rw-r--r-- | tests/gem_storedw_loop_blt.c | 2 | ||||
-rw-r--r-- | tests/gem_storedw_loop_bsd.c | 2 | ||||
-rw-r--r-- | tests/gem_storedw_loop_render.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/gem_storedw_batches_loop.c b/tests/gem_storedw_batches_loop.c index 48490bed..86c3469d 100644 --- a/tests/gem_storedw_batches_loop.c +++ b/tests/gem_storedw_batches_loop.c @@ -60,7 +60,7 @@ store_dword_loop(int divider) if (!has_ppgtt) cmd |= MI_MEM_VIRTUAL; - for (i = 0; i < 0x80000; i++) { + for (i = 0; i < SLOW_QUICK(0x80000, 0x10); i++) { cmd_bo = drm_intel_bo_alloc(bufmgr, "cmd bo", 4096, 4096); if (!cmd_bo) { fprintf(stderr, "failed to alloc cmd bo\n"); diff --git a/tests/gem_storedw_loop_blt.c b/tests/gem_storedw_loop_blt.c index edf50579..cacae3a8 100644 --- a/tests/gem_storedw_loop_blt.c +++ b/tests/gem_storedw_loop_blt.c @@ -63,7 +63,7 @@ store_dword_loop(int divider) if (!has_ppgtt) cmd |= MI_MEM_VIRTUAL; - for (i = 0; i < 0x100000; i++) { + for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) { BEGIN_BATCH(4); OUT_BATCH(cmd); OUT_BATCH(0); /* reserved */ diff --git a/tests/gem_storedw_loop_bsd.c b/tests/gem_storedw_loop_bsd.c index 8d40d350..232c3a62 100644 --- a/tests/gem_storedw_loop_bsd.c +++ b/tests/gem_storedw_loop_bsd.c @@ -63,7 +63,7 @@ store_dword_loop(int divider) if (!has_ppgtt) cmd |= MI_MEM_VIRTUAL; - for (i = 0; i < 0x100000; i++) { + for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) { BEGIN_BATCH(4); OUT_BATCH(cmd); OUT_BATCH(0); /* reserved */ diff --git a/tests/gem_storedw_loop_render.c b/tests/gem_storedw_loop_render.c index 23094328..fe098343 100644 --- a/tests/gem_storedw_loop_render.c +++ b/tests/gem_storedw_loop_render.c @@ -63,7 +63,7 @@ store_dword_loop(int divider) if (!has_ppgtt) cmd |= MI_MEM_VIRTUAL; - for (i = 0; i < 0x100000; i++) { + for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) { BEGIN_BATCH(4); OUT_BATCH(cmd); OUT_BATCH(0); /* reserved */ |