From patchwork Wed Feb 13 16:29:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lespiau, Damien" X-Patchwork-Id: 2137811 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 65F19DFE75 for ; Wed, 13 Feb 2013 16:47:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3ED9CE67C4 for ; Wed, 13 Feb 2013 08:47:27 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id E823DE6748 for ; Wed, 13 Feb 2013 08:29:10 -0800 (PST) Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 13 Feb 2013 08:29:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,658,1355126400"; d="scan'208";a="256452962" Received: from unknown (HELO dyon.amr.corp.intel.com) ([10.255.12.243]) by azsmga001.ch.intel.com with ESMTP; 13 Feb 2013 08:29:09 -0800 From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Wed, 13 Feb 2013 16:29:02 +0000 Message-Id: <1360772942-4144-3-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 1.7.7.5 In-Reply-To: <1360772942-4144-1-git-send-email-damien.lespiau@intel.com> References: <1360772942-4144-1-git-send-email-damien.lespiau@intel.com> Subject: [Intel-gfx] [PATCH 2/2] tests: Add a quick variant to the gem_storedw_* tests X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Signed-off-by: Damien Lespiau --- tests/gem_storedw_batches_loop.c | 2 +- tests/gem_storedw_loop_blt.c | 2 +- tests/gem_storedw_loop_bsd.c | 2 +- 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 48490be..86c3469 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 edf5057..cacae3a 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 8d40d35..232c3a6 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 2309432..fe09834 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 */