[igt-dev] [PATCH i-g-t 1/2] Revert "tests/kms_invalid_mode: Avoid usage of same pipe on multiple outputs"

Ville Syrjala ville.syrjala at linux.intel.com
Mon Nov 7 15:20:51 UTC 2022


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

This reverts commit 52c06782816c1dfaf721308d70d9dca83f7eff16.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tests/kms_invalid_mode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c
index f1c38669860d..8c345766d192 100644
--- a/tests/kms_invalid_mode.c
+++ b/tests/kms_invalid_mode.c
@@ -185,7 +185,6 @@ test_output(data_t *data)
 	int ret;
 	drmModeModeInfo *mode;
 
-	igt_display_reset(&data->display);
 	igt_output_set_pipe(output, data->pipe);
 
 	igt_create_fb(data->drm_fd, 512, 512, DRM_FORMAT_XRGB8888,
@@ -203,6 +202,7 @@ test_output(data_t *data)
 	igt_remove_fb(data->drm_fd, &fb);
 	igt_output_override_mode(output, NULL);
 	/*unset_all_crtcs*/
+	igt_display_reset(&data->display);
 	igt_display_commit(&data->display);
 }
 
-- 
2.37.4



More information about the igt-dev mailing list