From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: ankit.k.nautiyal@intel.com,
Mohammed Thasleem <mohammed.thasleem@intel.com>
Subject: [PATCH i-g-t] tests/kms_lease: Add vblank count to avoind resource busy
Date: Thu, 19 Dec 2024 22:09:38 +0530 [thread overview]
Message-ID: <20241219163938.475114-1-mohammed.thasleem@intel.com> (raw)
Add vblank count to avoind resource busy so that page flip to be
happen without any sync issue while setting a mode on leased output.
Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
tests/kms_lease.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/kms_lease.c b/tests/kms_lease.c
index 0f3a68fed..0fbf5b0ba 100644
--- a/tests/kms_lease.c
+++ b/tests/kms_lease.c
@@ -378,8 +378,8 @@ static void page_flip_implicit_plane(data_t *data)
display = &data->master.display;
- igt_wait_for_vblank(data->master.fd,
- display->pipes[pipe].crtc_offset);
+ igt_wait_for_vblank_count(data->master.fd,
+ display->pipes[pipe].crtc_offset, 2);
do_or_die(drmModePageFlip(data->lease.fd, data->crtc_id,
data->master.primary_fb.fb_id,
--
2.25.1
next reply other threads:[~2024-12-19 16:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-19 16:39 Mohammed Thasleem [this message]
2024-12-19 19:05 ` ✓ i915.CI.BAT: success for tests/kms_lease: Add vblank count to avoind resource busy Patchwork
2024-12-19 20:37 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-20 5:38 ` [PATCH i-g-t] " Samala, Pranay
2024-12-20 16:08 ` ✗ i915.CI.Full: failure for " Patchwork
2024-12-20 20:12 ` ✗ Xe.CI.Full: " 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=20241219163938.475114-1-mohammed.thasleem@intel.com \
--to=mohammed.thasleem@intel.com \
--cc=ankit.k.nautiyal@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