From 78d076268cfb0319f9f44678905ac1a9ac989951 Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Wed, 12 Aug 2015 16:49:11 -0300 Subject: kms_frontbuffer_tracking: don't test CUR or SPR planes on FBS_SHARED We already tested these planes for FBS_INDIVIDUAL, and there are no reasons to believe those planes will behave differently under FBS_SHARED, so save some time avoiding potentially useless tests. This makes "--no-edp --fbc-only --1p-only" go from 2m49s to 2m29s on my machine. Signed-off-by: Paulo Zanoni --- tests/kms_frontbuffer_tracking.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index d1d50455..795184c2 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -2557,8 +2557,12 @@ static const char *feature_str(int feature) continue; \ if ((!opt.show_hidden && opt.only_feature != FEATURE_NONE) \ && t.feature == FEATURE_NONE) \ + continue; \ + if (!opt.show_hidden && t.fbs == FBS_SHARED && \ + (t.plane == PLANE_CUR || t.plane == PLANE_SPR)) \ continue; + #define TEST_MODE_ITER_END } } } } } } int main(int argc, char *argv[]) -- cgit v1.2.3