[PATCH v3 i-g-t 0/3] tests/intel/xe_eudebug: Introduce additional ufence testcases

Dominik Karol Piątkowski dominik.karol.piatkowski at intel.com
Mon Dec 16 13:49:34 UTC 2024


Introduce 3 new ufence testcases:
- basic-vm-bind-ufence-delay-ack: Give user fence in application and
  check if delayed ufence ack works
- basic-vm-bind-ufence-reconnect: Give user fence in application, hold
  it, drop the debugger connection and check if anything breaks. Expect
  that held acks are released when connection is dropped.
- basic-vm-bind-ufence-sigint-client: Give user fence in application,
  hold it, send SIGINT to client and check if anything breaks.

v2:
- Rename basic-vm-bind-drop-debugger-before-ufence-ack to
  basic-vm-bind-ufence-reconnect and merge it into test_basic_ufence
- Cleanup after the client in basic-vm-bind-ufence-sigint-client,
  merge the test into test_basic_ufence

v3:
- Use xe_eudebug_client_wait_done instead of sleep
  (basic-vm-bind-ufence-reconnect)
- Add missing braces (basic-vm-bind-ufence-reconnect)
- Get rid of goto (basic-vm-bind-ufence-sigint-client)

Signed-off-by: Dominik Karol Piątkowski <dominik.karol.piatkowski at intel.com>

Dominik Karol Piątkowski (3):
  tests/intel/xe_eudebug: Add basic-vm-bind-ufence-delay-ack test
  tests/intel/xe_eudebug: Add basic-vm-bind-ufence-reconnect test
  tests/intel/xe_eudebug: Add basic-vm-bind-ufence-sigint-client test

 tests/intel/xe_eudebug.c | 67 +++++++++++++++++++++++++++++++++-------
 1 file changed, 55 insertions(+), 12 deletions(-)

-- 
2.34.1



More information about the igt-dev mailing list