From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Mohammed Thasleem <mohammed.thasleem@intel.com>
Subject: [PATCH i-g-t] tests/kms_histogram: Add vblank wait to get histogram interrupts
Date: Wed, 13 Nov 2024 23:24:00 +0530 [thread overview]
Message-ID: <20241113175400.163568-1-mohammed.thasleem@intel.com> (raw)
Add igt wait for 3 vblank count to get histogram interrupt.
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
tests/kms_histogram.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/kms_histogram.c b/tests/kms_histogram.c
index b2bd777ab..5dc02d26b 100644
--- a/tests/kms_histogram.c
+++ b/tests/kms_histogram.c
@@ -226,6 +226,7 @@ static void flip_fb(data_t *data, enum pipe pipe, igt_output_t *output, struct i
{
igt_plane_set_fb(igt_output_get_plane_type(output, DRM_PLANE_TYPE_PRIMARY), fb);
igt_display_commit2(&data->display, COMMIT_ATOMIC);
+ igt_wait_for_vblank_count(data->drm_fd, data->display.pipes[pipe].crtc_offset, 3);
}
static void prepare_pipe(data_t *data, enum pipe pipe, igt_output_t *output, bool color_fb)
--
2.25.1
next reply other threads:[~2024-11-13 17:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-13 17:54 Mohammed Thasleem [this message]
2024-11-13 20:25 ` ✗ Fi.CI.BUILD: failure for tests/kms_histogram: Add vblank wait to get histogram interrupts 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=20241113175400.163568-1-mohammed.thasleem@intel.com \
--to=mohammed.thasleem@intel.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