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

fei.yang at intel.com fei.yang at intel.com
Fri Nov 8 01:10:37 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 comparing ufence
value at the end of the execution. To fix this the exec_sync data needs
to be separated from the batch buffer for instructions, and during the
execution we don't remap the exec_sync data.

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

Fei Yang (4):
  tests/intel/xe_exec_fault_mode: separate exec_sync 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 exec_sync and batch buffer

 tests/intel/xe_exec_fault_mode.c | 66 ++++++++++++++++++++++++--------
 tests/intel/xe_exec_threads.c    | 65 +++++++++++++++++++++++--------
 2 files changed, 99 insertions(+), 32 deletions(-)

-- 
2.25.1



More information about the igt-dev mailing list