Revert "store_dw_loop: make loops smaller"

This reverts commit f00efff326610fdba92dbc91d951790a3320052e.

This is a temporary revert since I want QA to first test with the
original testcase whether it got faster again. This is to test the
effects of

commit 227f782e4667fc622810bce8be8ccdeee45f89c2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu May 15 10:41:42 2014 +0100

    drm/i915: Retire requests before creating a new one

We should revert this revert again as soon as QA has completed
testing.

References: https://bugs.freedesktop.org/show_bug.cgi?id=78024
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2014-05-19 18:11:34 +02:00
parent f00efff326
commit 3005ac3ee8
5 changed files with 5 additions and 5 deletions

View File

@ -62,7 +62,7 @@ store_dword_loop(int divider, unsigned flags)
if (!has_ppgtt)
cmd |= MI_MEM_VIRTUAL;
for (i = 0; i < SLOW_QUICK(0x2000, 4); i++) {
for (i = 0; i < SLOW_QUICK(0x80000, 4); i++) {
int j = 0;
int cmd_address_offset;
cmd_bo = drm_intel_bo_alloc(bufmgr, "cmd bo", 4096, 4096);

View File

@ -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(0x2000, 0x10); i++) {
for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
emit_store_dword_imm(devid, target_buffer, val);
intel_batchbuffer_flush_on_ring(batch, I915_EXEC_BLT);

View File

@ -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(0x2000, 0x10); i++) {
for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
emit_store_dword_imm(devid, target_buffer, val);
intel_batchbuffer_flush_on_ring(batch, I915_EXEC_BSD);

View File

@ -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(0x2000, 0x10); i++) {
for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
emit_store_dword_imm(devid, target_buffer, val);
intel_batchbuffer_flush_on_ring(batch, 0);

View File

@ -61,7 +61,7 @@ store_dword_loop(int divider)
cmd = MI_STORE_DWORD_IMM;
for (i = 0; i < SLOW_QUICK(0x2000, 0x10); i++) {
for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
BEGIN_BATCH(4);
OUT_BATCH(cmd);
if (intel_gen(batch->devid) < 8)