From patchwork Wed Apr 20 17:49:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Vlad X-Patchwork-Id: 8893811 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 092A3BF440 for ; Wed, 20 Apr 2016 17:47:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4093B20115 for ; Wed, 20 Apr 2016 17:47:23 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 68F0E2020F for ; Wed, 20 Apr 2016 17:47:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6AC436EAC0; Wed, 20 Apr 2016 17:47:21 +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 2898D6EAC1 for ; Wed, 20 Apr 2016 17:47:19 +0000 (UTC) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 20 Apr 2016 10:46:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,510,1455004800"; d="scan'208";a="788783923" Received: from mcvlad-wk.rb.intel.com ([10.237.105.57]) by orsmga003.jf.intel.com with ESMTP; 20 Apr 2016 10:46:55 -0700 From: Marius Vlad To: intel-gfx@lists.freedesktop.org Date: Wed, 20 Apr 2016 20:49:57 +0300 Message-Id: <1461174597-7722-2-git-send-email-marius.c.vlad@intel.com> X-Mailer: git-send-email 2.8.0.rc3 In-Reply-To: <1461174597-7722-1-git-send-email-marius.c.vlad@intel.com> References: <1461174597-7722-1-git-send-email-marius.c.vlad@intel.com> Cc: tomi.p.sarvela@intel.com Subject: [Intel-gfx] [PATCH i-g-t 2/2] tests/kms_flip: Half the duration time for basic-*vs-modeset/flip tests. 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-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP basic-flip-vs-dpms and basic-flip-vs-modeset together take roughly 2m to run. Adjust the duration time to a maximum of 500ms. Signed-off-by: Marius Vlad --- tests/kms_flip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 3d44544..fd8206f 100644 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -1458,7 +1458,7 @@ static int run_test(int duration, int flags) } igt_require(modes); - duration = duration * 1000 / modes; + duration = duration * 500 / modes; duration = max(500, duration); /* Find any connected displays */