[igt-dev] [PATCH i-g-t 2/2] tests/kms_invalid_mode.c: Test Cleanup
Nidhi Gupta
nidhi1.gupta at intel.com
Mon Jun 20 09:10:51 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 3d583202..3957a460 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