public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_available_modes_crc: Reset output->pipe after testing it.
@ 2019-01-17 19:34 Dhinakaran Pandiyan
  2019-01-17 20:13 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Dhinakaran Pandiyan @ 2019-01-17 19:34 UTC (permalink / raw)
  To: igt-dev; +Cc: Dhinakaran Pandiyan

Not clearing the pipe results in a test failure when the same pipe is
assigned to the next output.

Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Suggested-by: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
---
 tests/kms_available_modes_crc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_available_modes_crc.c b/tests/kms_available_modes_crc.c
index 45a47750..0c0282f8 100644
--- a/tests/kms_available_modes_crc.c
+++ b/tests/kms_available_modes_crc.c
@@ -484,6 +484,7 @@ test_available_modes(data_t* data)
 		igt_pipe_crc_stop(data->pipe_crc);
 		igt_pipe_crc_free(data->pipe_crc);
 		igt_display_commit2(&data->display, data->commit);
+		igt_output_set_pipe(output, PIPE_NONE);
 	}
 	igt_assert(invalids == 0);
 }
-- 
2.14.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-18  9:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-17 19:34 [igt-dev] [PATCH i-g-t] tests/kms_available_modes_crc: Reset output->pipe after testing it Dhinakaran Pandiyan
2019-01-17 20:13 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-01-18  4:53 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-01-18  7:20 ` [igt-dev] [PATCH i-g-t] " Juha-Pekka Heikkilä
2019-01-18  9:33   ` Dhinakaran Pandiyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox