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 <paulo.r.zanoni@intel.com>
This commit is contained in:
Paulo Zanoni 2015-08-12 16:49:11 -03:00
parent 59cdc16b1a
commit 78d076268c

View File

@ -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[])