From c049096eb627661182f76bc5d99b8c17c1e8b3d3 Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Wed, 12 Aug 2015 19:31:52 -0300 Subject: [PATCH] kms_frontbuffer_tracking: don't test SPR or CUR on multidraw The goal of the multidraw subtest is to check if alternating drawing methods can somehow break the feature. The plane we're drawing to really shouldn't matter here - we have other tests to make sure drawing on the different planes works correctly. So after this patch we'll only run the multidraw subtest for the primary plane, not for sprite and cursors anymore. This makes "--no-edp --fbc-only --1p-only" go from 2m29s to 1m40s on my machine. Of course, we can still run these tests with the --show-hidden flag. Signed-off-by: Paulo Zanoni --- tests/kms_frontbuffer_tracking.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index 795184c2..818ef9f5 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -2691,6 +2691,7 @@ int main(int argc, char *argv[]) TEST_MODE_ITER_BEGIN(t) if (t.screen != SCREEN_PRIM || + (!opt.show_hidden && t.plane != PLANE_PRI) || (!opt.show_hidden && t.fbs != FBS_INDIVIDUAL)) continue;