[igt-dev] [PATCH 2/2] tests/kms_writeback: Test cleanup
Nidhi Gupta
nidhi1.gupta at intel.com
Thu Sep 22 00:58:19 UTC 2022
Sanitize the system state before starting the subtest.
Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
---
tests/kms_writeback.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kms_writeback.c b/tests/kms_writeback.c
index 3781fa34..5149e302 100644
--- a/tests/kms_writeback.c
+++ b/tests/kms_writeback.c
@@ -521,6 +521,8 @@ igt_main_args("b:c:dl", long_options, help_str, opt_handler, NULL)
kmstest_set_vt_graphics_mode();
+ igt_display_reset(display);
+
igt_display_require(&display, display.drm_fd);
igt_require(display.is_atomic);
--
2.36.0
More information about the igt-dev
mailing list