summaryrefslogtreecommitdiff
path: root/tests/gem_storedw_batches_loop.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2014-05-19 08:44:12 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2014-05-19 08:44:12 -0700
commitf00efff326610fdba92dbc91d951790a3320052e (patch)
tree193ef6216c326b80762e638e876a812acba38d6d /tests/gem_storedw_batches_loop.c
parentd71add5c1197706fdd060e7f487293ef8b459d87 (diff)
store_dw_loop: make loops smaller
These tests are really for catching TLB or GTT mapping failures due to bad programming in the kernel driver. We've never needed more than a few pages worth of data write to actually see those.
Diffstat (limited to 'tests/gem_storedw_batches_loop.c')
-rw-r--r--tests/gem_storedw_batches_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_storedw_batches_loop.c b/tests/gem_storedw_batches_loop.c
index fe85387f..fef3718f 100644
--- a/tests/gem_storedw_batches_loop.c
+++ b/tests/gem_storedw_batches_loop.c
@@ -62,7 +62,7 @@ store_dword_loop(int divider, unsigned flags)
if (!has_ppgtt)
cmd |= MI_MEM_VIRTUAL;
- for (i = 0; i < SLOW_QUICK(0x80000, 4); i++) {
+ for (i = 0; i < SLOW_QUICK(0x2000, 4); i++) {
int j = 0;
int cmd_address_offset;
cmd_bo = drm_intel_bo_alloc(bufmgr, "cmd bo", 4096, 4096);