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 0/4] separate sync data and batch buffer
Date: Wed, 30 Oct 2024 16:03:46 -0700	[thread overview]
Message-ID: <20241030230350.1681757-1-fei.yang@intel.com> (raw)

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

In INVALIDATE cases the test purposely remap the data buffer to a
different physical location in the midle of execution to exercise the
page fault handling flow. After the remapping we lose access to the old
physical location, and that would cause a problem for verifying stored
data and comparing ufence value at the end of the execution. To fix this
the data used for synchronization purpose needs to be separated from the
batch buffer for instructions, and during the execution we remap the
batch buffer only.

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

Fei Yang (4):
  tests/intel/xe_exec_fault_mode: separate sync data and batch buffer
  tests/intel/xe_exec_threads: remove redundant wait
  tests/intel/xe_exec_threads: wait for all submissions to complete
  tests/intel/xe_exec_threads: separate sync data and batch buffer

 tests/intel/xe_exec_fault_mode.c | 70 ++++++++++++++++++---------
 tests/intel/xe_exec_threads.c    | 83 +++++++++++++++++++++-----------
 2 files changed, 103 insertions(+), 50 deletions(-)

-- 
2.25.1


             reply	other threads:[~2024-10-30 23:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30 23:03 fei.yang [this message]
2024-10-30 23:03 ` [i-g-t 1/4] tests/intel/xe_exec_fault_mode: separate sync data and batch buffer fei.yang
2024-11-05 23:55   ` Matt Roper
2024-10-30 23:03 ` [i-g-t 2/4] tests/intel/xe_exec_threads: remove redundant wait fei.yang
2024-11-05 23:59   ` Matt Roper
2024-10-30 23:03 ` [i-g-t 3/4] tests/intel/xe_exec_threads: wait for all submissions to complete fei.yang
2024-10-30 23:03 ` [i-g-t 4/4] tests/intel/xe_exec_threads: separate sync data and batch buffer fei.yang
2024-10-31  0:57 ` ✓ CI.xeBAT: success for " Patchwork
2024-10-31  0:59 ` ✓ Fi.CI.BAT: " Patchwork
2024-10-31  2:05 ` ✗ CI.xeFULL: failure " Patchwork
2024-10-31 11:10 ` ✗ 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=20241030230350.1681757-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