From patchwork Fri May 27 11:50:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Vlad X-Patchwork-Id: 9138213 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 309536075C for ; Fri, 27 May 2016 11:47:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2317227BFE for ; Fri, 27 May 2016 11:47:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1804027CF9; Fri, 27 May 2016 11:47:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE26F27BFE for ; Fri, 27 May 2016 11:47:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 28FD66EBFE; Fri, 27 May 2016 11:47:17 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTP id 5E1CC6EBFB for ; Fri, 27 May 2016 11:47:08 +0000 (UTC) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 27 May 2016 04:47:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,373,1459839600"; d="scan'208";a="709786806" Received: from mcvlad-wk.rb.intel.com ([10.237.105.57]) by FMSMGA003.fm.intel.com with ESMTP; 27 May 2016 04:47:06 -0700 From: Marius Vlad To: intel-gfx@lists.freedesktop.org Date: Fri, 27 May 2016 14:50:35 +0300 Message-Id: <1464349838-9959-5-git-send-email-marius.c.vlad@intel.com> X-Mailer: git-send-email 2.8.0.rc3 In-Reply-To: <1464349838-9959-1-git-send-email-marius.c.vlad@intel.com> References: <1464349838-9959-1-git-send-email-marius.c.vlad@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 5/8] tests/gem_sync: Tune down for BAT to ~1s for basic-each and ~2s for basic-all. X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Marius Vlad --- tests/gem_sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gem_sync.c b/tests/gem_sync.c index 320bce3..f824d1e 100644 --- a/tests/gem_sync.c +++ b/tests/gem_sync.c @@ -126,7 +126,7 @@ sync_ring(int fd, unsigned ring, int num_children) gem_execbuf(fd, &execbuf); gem_sync(fd, object.handle); } while (++cycles & 1023); - } while ((elapsed = gettime() - start) < SLOW_QUICK(10, 1)); + } while ((elapsed = gettime() - start) < 1); igt_info("%s%sompleted %ld cycles: %.3f us\n", names[child % num_engines] ?: "", names[child % num_engines] ? " c" : "C", @@ -191,7 +191,7 @@ sync_all(int fd, int num_children) } gem_sync(fd, object.handle); } while (++cycles & 1023); - } while ((elapsed = gettime() - start) < SLOW_QUICK(10, 1)); + } while ((elapsed = gettime() - start) < SLOW_QUICK(2, 1)); igt_info("Completed %ld cycles: %.3f us\n", cycles, elapsed*1e6/cycles);