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

Ville Syrjala ville.syrjala at linux.intel.com
Fri Oct 7 13:40:28 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 0ae98a31fcc2..21ee91abf54b 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.35.1



More information about the igt-dev mailing list