Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: fei.yang@intel.com
To: igt-dev@lists.freedesktop.org
Cc: Fei Yang <fei.yang@intel.com>
Subject: [i-g-t, v2, 0/1] tests/intel/xe_exec_threads: wait for all submissions to complete
Date: Mon, 28 Oct 2024 15:53:48 -0700	[thread overview]
Message-ID: <20241028225349.1596237-1-fei.yang@intel.com> (raw)

From: Fei Yang <fei.yang@intel.com>

In test_compute_mode, there is an one second sleep waiting for all
the submissions to complete, but that is not reliable especially
on pre-si platforms where the GPU could be a lot slower. Instead we
should wait for the ufence to make sure the GPU is inactive before
unbinding the BO.

Signed-off-by: Fei Yang <fei.yang@intel.com>

Fei Yang (1):
  tests/intel/xe_exec_threads: wait for all submissions to complete

 tests/intel/xe_exec_threads.c | 29 ++++++++++++++++++++++-------
 1 file changed, 22 insertions(+), 7 deletions(-)

-- 
2.25.1


             reply	other threads:[~2024-10-28 22:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-28 22:53 fei.yang [this message]
2024-10-28 22:53 ` [i-g-t, v2, 1/1] tests/intel/xe_exec_threads: wait for all submissions to complete fei.yang
2024-10-29 23:38   ` Matt Roper
2024-10-30  0:15     ` Yang, Fei
2024-10-29 17:13 ` ✓ Fi.CI.BAT: success for " Patchwork
2024-10-29 17:36 ` ✓ CI.xeBAT: " Patchwork
2024-10-29 20:43 ` ✗ CI.xeFULL: failure " Patchwork
2024-10-30  0:53 ` ✗ Fi.CI.IGT: " 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=20241028225349.1596237-1-fei.yang@intel.com \
    --to=fei.yang@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