summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-22 09:07:45 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-22 09:07:45 +0200
commitf8935351413a23920032604e05802a404b8eaff2 (patch)
tree761aae85b4116898abdd1530176e2bcd8db89309
parentc75dcbdac51dcc2d631a4a45049c9421e0229e16 (diff)
Revert "Revert "store_dw_loop: make loops smaller""
This reverts commit 3005ac3ee8d7aede73a3e63d2068a6074156ebe5. QA has done the testing we've wanted. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--tests/gem_storedw_batches_loop.c2
-rw-r--r--tests/gem_storedw_loop_blt.c2
-rw-r--r--tests/gem_storedw_loop_bsd.c2
-rw-r--r--tests/gem_storedw_loop_render.c2
-rw-r--r--tests/gem_storedw_loop_vebox.c2
5 files changed, 5 insertions, 5 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);
diff --git a/tests/gem_storedw_loop_blt.c b/tests/gem_storedw_loop_blt.c
index 06afe14f..8c4157d5 100644
--- a/tests/gem_storedw_loop_blt.c
+++ b/tests/gem_storedw_loop_blt.c
@@ -86,7 +86,7 @@ store_dword_loop(int devid, int divider)
igt_info("running storedw loop on render with stall every %i batch\n", divider);
- for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
+ for (i = 0; i < SLOW_QUICK(0x2000, 0x10); i++) {
emit_store_dword_imm(devid, target_buffer, val);
intel_batchbuffer_flush_on_ring(batch, I915_EXEC_BLT);
diff --git a/tests/gem_storedw_loop_bsd.c b/tests/gem_storedw_loop_bsd.c
index 14a56ba6..f89d522e 100644
--- a/tests/gem_storedw_loop_bsd.c
+++ b/tests/gem_storedw_loop_bsd.c
@@ -86,7 +86,7 @@ store_dword_loop(int devid, int divider)
igt_info("running storedw loop on render with stall every %i batch\n", divider);
- for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
+ for (i = 0; i < SLOW_QUICK(0x2000, 0x10); i++) {
emit_store_dword_imm(devid, target_buffer, val);
intel_batchbuffer_flush_on_ring(batch, I915_EXEC_BSD);
diff --git a/tests/gem_storedw_loop_render.c b/tests/gem_storedw_loop_render.c
index fb1e6fdb..9defc6d6 100644
--- a/tests/gem_storedw_loop_render.c
+++ b/tests/gem_storedw_loop_render.c
@@ -86,7 +86,7 @@ store_dword_loop(int devid, int divider)
igt_info("running storedw loop on render with stall every %i batch\n", divider);
- for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
+ for (i = 0; i < SLOW_QUICK(0x2000, 0x10); i++) {
emit_store_dword_imm(devid, target_buffer, val);
intel_batchbuffer_flush_on_ring(batch, 0);
diff --git a/tests/gem_storedw_loop_vebox.c b/tests/gem_storedw_loop_vebox.c
index b8215fc4..c94a6770 100644
--- a/tests/gem_storedw_loop_vebox.c
+++ b/tests/gem_storedw_loop_vebox.c
@@ -61,7 +61,7 @@ store_dword_loop(int divider)
cmd = MI_STORE_DWORD_IMM;
- for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
+ for (i = 0; i < SLOW_QUICK(0x2000, 0x10); i++) {
BEGIN_BATCH(4);
OUT_BATCH(cmd);
if (intel_gen(batch->devid) < 8)