[igt-dev] [PATCH i-g-t 2/2] tests/kms_invalid_mode: Test Cleanup
Nidhi Gupta
nidhi1.gupta at intel.com
Wed Jun 22 15:48:37 UTC 2022
Sanitize the system state before starting the subtest.
Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
---
tests/kms_invalid_mode.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c
index 7e1f683b..eb46b6e7 100644
--- a/tests/kms_invalid_mode.c
+++ b/tests/kms_invalid_mode.c
@@ -187,6 +187,8 @@ test_output(data_t *data)
int ret;
uint32_t crtc_id;
+ igt_display_reset(&data->display);
+
/*
* FIXME test every mode we have to be more
* sure everything is really getting rejected?
--
2.26.2
More information about the igt-dev
mailing list