[i-g-t 0/4] separate sync data and batch buffer

fei.yang at intel.com fei.yang at intel.com
Wed Oct 30 23:03:46 UTC 2024


From: Fei Yang <fei.yang at 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 at 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



More information about the igt-dev mailing list