public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] HACK tests/kms_plane_multiple: add missed igt_display_commit2 after pipe change
Date: Fri,  8 Mar 2019 13:29:15 +0200	[thread overview]
Message-ID: <1552044555-19476-1-git-send-email-juhapekka.heikkila@gmail.com> (raw)

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

             reply	other threads:[~2019-03-08 11:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-08 11:29 Juha-Pekka Heikkila [this message]
2019-03-08 13:29 ` [igt-dev] ✓ Fi.CI.BAT: success for HACK tests/kms_plane_multiple: add missed igt_display_commit2 after pipe change Patchwork
2019-03-08 17:22 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1552044555-19476-1-git-send-email-juhapekka.heikkila@gmail.com \
    --to=juhapekka.heikkila@gmail.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox