From mboxrd@z Thu Jan 1 00:00:00 1970 From: Imre Deak Subject: [PATCH 1/5] flip_test: increase duration for vbl+flip tests with ts check Date: Mon, 22 Oct 2012 20:40:04 +0300 Message-ID: <1350927609-14649-1-git-send-email-imre.deak@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id AE1809E7A6 for ; Mon, 22 Oct 2012 10:40:34 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org We need a big enough duration, so the hotplug event's affect doesn't distort our final frame count too much. Without this these tests will exit with a "dropped frames" error. Signed-off-by: Imre Deak --- tests/flip_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/flip_test.c b/tests/flip_test.c index 3d52305..81a7afe 100644 --- a/tests/flip_test.c +++ b/tests/flip_test.c @@ -866,11 +866,11 @@ int main(int argc, char **argv) { 30, TEST_FLIP | TEST_MODESET | TEST_EINVAL, "flip vs modeset" }, { 30, TEST_FLIP | TEST_MODESET | TEST_WITH_DUMMY_LOAD, "delayed flip vs modeset" }, - { 5, TEST_FLIP | TEST_VBLANK | TEST_VBLANK_ABSOLUTE | + { 15, TEST_FLIP | TEST_VBLANK | TEST_VBLANK_ABSOLUTE | TEST_CHECK_TS, "flip vs absolute wf-vblank" }, - { 5, TEST_FLIP | TEST_VBLANK | TEST_CHECK_TS, + { 15, TEST_FLIP | TEST_VBLANK | TEST_CHECK_TS, "flip vs wf-vblank" }, - { 5, TEST_FLIP | TEST_VBLANK | TEST_VBLANK_BLOCK | + { 15, TEST_FLIP | TEST_VBLANK | TEST_VBLANK_BLOCK | TEST_CHECK_TS, "flip vs blocking wf-vblank" }, }; int i; -- 1.7.9.5