From f00efff326610fdba92dbc91d951790a3320052e Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Mon, 19 May 2014 08:44:12 -0700 Subject: 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. --- tests/gem_storedw_batches_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/gem_storedw_batches_loop.c') 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); -- cgit v1.2.3