[igt-dev] [PATCH 2/2] tests/kms_writeback: Test cleanup
Nidhi Gupta
nidhi1.gupta at intel.com
Thu Sep 8 08:48:45 UTC 2022
Sanitize the system state before starting the subtest.
Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
---
tests/kms_writeback.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_writeback.c b/tests/kms_writeback.c
index 2c5421ce..79a5760f 100644
--- a/tests/kms_writeback.c
+++ b/tests/kms_writeback.c
@@ -186,6 +186,7 @@ static int do_writeback_test(igt_output_t *output, uint32_t fb_id,
{
int ret;
igt_display_t *display = output->display;
+ igt_display_reset(display);
struct kmstest_connector_config *config = &output->config;
igt_output_set_prop_value(output, IGT_CONNECTOR_CRTC_ID, config->crtc->crtc_id);
--
2.36.0
More information about the igt-dev
mailing list