[Intel-gfx] [PATCH 1/5] flip_test: increase duration for vbl+flip tests with ts check

Imre Deak imre.deak at intel.com
Mon Oct 22 19:40:04 CEST 2012


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 at intel.com>
---
 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




More information about the Intel-gfx mailing list