[Intel-gfx] [PATCH i-g-t 6/7] kms_panel_fitting: Don't skip test after finding an incompatible connector.
robert.foss at collabora.com
robert.foss at collabora.com
Fri Apr 22 21:24:59 UTC 2016
From: Robert Foss <robert.foss at collabora.com>
If an incompatible connector is found, don't skip the test,
but rather keep looking for valid connectors.
Signed-off-by: Robert Foss <robert.foss at collabora.com>
---
tests/kms_panel_fitting.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/kms_panel_fitting.c b/tests/kms_panel_fitting.c
index 2398a5e..60a22b0 100644
--- a/tests/kms_panel_fitting.c
+++ b/tests/kms_panel_fitting.c
@@ -140,8 +140,9 @@ static void test_panel_fitting(data_t *d)
for_each_connected_output(display, output) {
drmModeModeInfo *mode, native_mode;
- igt_require(output->config.connector->connector_type ==
- DRM_MODE_CONNECTOR_eDP);
+ if (output->config.connector->connector_type !=
+ DRM_MODE_CONNECTOR_eDP)
+ continue;
pipe = output->config.pipe;
igt_output_set_pipe(output, pipe);
--
2.5.0
More information about the Intel-gfx
mailing list