flip_test: increase duration for vbl+flip tests with ts check
authorImre Deak <imre.deak@intel.com>
Mon, 22 Oct 2012 17:40:04 +0000 (20:40 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Oct 2012 08:34:17 +0000 (10:34 +0200)
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 <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/flip_test.c

index 3d52305..81a7afe 100644 (file)
@@ -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;