diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-05-23 22:03:24 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-05-28 22:38:55 +0300 |
commit | 57b28c863f210b0d18769d561a5e1537b2a43b11 (patch) | |
tree | f926762595d64214b52bda85ae82a620a66697f4 | |
parent | d8a8cc9ba0d204d71818fdc105e90cac5e47cf39 (diff) |
tests/kms_big_fb: Run the test for a single pipe only
I think we can safely assume that if no plane on the first
available pipe supports the format+mod+rotation combo we
don't have to check on all the other pipes.
The only slight exception is CHV where pipe B has a few more
features, but none of those are actually relevant for this
test.
Also leave put the PIPE_ANY commit as that still causes
pointless modesets.
$ time kms_big_fb
- real 2m8.101s
+ real 0m52.902s
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
-rw-r--r-- | tests/kms_big_fb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/kms_big_fb.c b/tests/kms_big_fb.c index 2f898074..c3520e22 100644 --- a/tests/kms_big_fb.c +++ b/tests/kms_big_fb.c @@ -344,8 +344,6 @@ static bool test_pipe(data_t *data) igt_pipe_crc_free(data->pipe_crc); igt_output_set_pipe(data->output, PIPE_ANY); - igt_display_commit2(&data->display, data->display.is_atomic ? - COMMIT_ATOMIC : COMMIT_UNIVERSAL); igt_remove_fb(data->drm_fd, &data->small_fb); @@ -357,6 +355,7 @@ static void test_scanout(data_t *data) for_each_pipe_with_valid_output(&data->display, data->pipe, data->output) { if (test_pipe(data)) return; + break; } igt_skip("unsupported configuration\n"); |