public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] HACK tests/kms_plane_multiple: add missed igt_display_commit2 after pipe change
@ 2019-03-08 11:29 Juha-Pekka Heikkila
  2019-03-08 13:29 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2019-03-08 17:22 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Juha-Pekka Heikkila @ 2019-03-08 11:29 UTC (permalink / raw)
  To: igt-dev

when pipe changes on output commit the change immediately
---
 tests/kms_plane_multiple.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_plane_multiple.c b/tests/kms_plane_multiple.c
index 617054d..958566f 100644
--- a/tests/kms_plane_multiple.c
+++ b/tests/kms_plane_multiple.c
@@ -92,6 +92,7 @@ static void test_fini(data_t *data, igt_output_t *output, int n_planes)
 
 	/* reset the constraint on the pipe */
 	igt_output_set_pipe(output, PIPE_ANY);
+	igt_display_commit2(&data->display, COMMIT_ATOMIC);
 
 	igt_pipe_crc_free(data->pipe_crc);
 	data->pipe_crc = NULL;
@@ -197,6 +198,7 @@ prepare_planes(data_t *data, enum pipe pipe_id, color_t *color,
 	int i;
 
 	igt_output_set_pipe(output, pipe_id);
+	igt_display_commit2(&data->display, COMMIT_ATOMIC);
 	primary = igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY);
 	pipe = primary->pipe;
 
-- 
2.7.4

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

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

end of thread, other threads:[~2019-03-08 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-08 11:29 [igt-dev] [PATCH i-g-t] HACK tests/kms_plane_multiple: add missed igt_display_commit2 after pipe change Juha-Pekka Heikkila
2019-03-08 13:29 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-03-08 17:22 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

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