summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-04 01:50:55 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-07-04 01:52:04 +0200
commitdb94faede57be86e4f4dbefaf2c1ea24f44acae1 (patch)
tree92a2c44b4f1c8a8291d3594761ca1068e679b021
parenta7e7d08513a46eb721e708e7c9f0520edf265085 (diff)
tests/kms_flip: don't run blocking relateve vblank waits with interrupts
They simply take forever with the current kernel implementation. And since everyone switched over to the event based interface I don't see much incentive to try to fix that. So just disable them. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--tests/kms_flip.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 35858763..e1f2864f 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -1195,6 +1195,13 @@ int main(int argc, char **argv)
for (i = 0; i < sizeof(tests) / sizeof (tests[0]); i++) {
char name[160];
snprintf(name, sizeof(name), "%s-interruptible", tests[i].name);
+
+ /* relative blocking vblank waits that get constantly interrupt
+ * take forver. So don't do them. */
+ if ((tests[i].flags & TEST_VBLANK_BLOCK) &&
+ !(tests[i].flags & TEST_VBLANK_ABSOLUTE))
+ continue;
+
if (drmtest_run_subtest(name)) {
printf("running testcase: %s\n", name);
run_test(tests[i].duration, tests[i].flags, name);