[igt-dev] [PATCH i-g-t 1/3] kms_flip: Make busy-flip test less strict.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Wed Apr 10 11:19:29 UTC 2019


Remove the -interruptible test, the test only tests that we get an
-EBUSY after doing a pageflip. Doing this interruptibly adds the
possibility the test will take too long from retrying.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
---
 tests/kms_flip.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index dfa5a69e8f28..08f3bd29b8eb 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1575,6 +1575,13 @@ int main(int argc, char **argv)
 		    !(tests[i].flags & TEST_VBLANK_ABSOLUTE))
 			continue;
 
+		/*
+		 * -EBUSY needs to complete in a single vblank, skip them for
+		 * interruptible tests
+		 */
+		if (tests[i].flags & TEST_EBUSY)
+			continue;
+
 		igt_subtest_f( "%s-interruptible", tests[i].name)
 			run_test(tests[i].duration, tests[i].flags);
 
-- 
2.20.1



More information about the igt-dev mailing list