summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2015-08-12 16:49:11 -0300
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2015-08-13 10:07:56 -0300
commit78d076268cfb0319f9f44678905ac1a9ac989951 (patch)
treef1de715fb10c055cd619117339636dc823f3e164
parent59cdc16b1a6f069f944ff17851a59edf8f72d45d (diff)
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>
-rw-r--r--tests/kms_frontbuffer_tracking.c4
1 files changed, 4 insertions, 0 deletions
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[])