[igt-dev] [RFC v2 i-g-t 0/9] Add initial eudebug coverage

Dominik Grzegorzek dominik.grzegorzek at intel.com
Wed May 24 14:29:22 UTC 2023


This series introduces test coverage for eudebug event
interface recently proposed as an RFC.
(https://patchwork.freedesktop.org/series/116442/) 

This series adds xe_eudebug tests together with 
a library that encapsulates common paths in current 
and future eu debugger scenarios. It provides an abstraction
over debugger and debuggee processes, asynchronous event reader,
and event log buffers for post-mortem analysis.

Place xe_eudebug tests inside xe/staging/ directory
and behind xe_staging build option as the kernel part 
won't be merged anytime soon.

Dominik Grzegorzek (8):
  xe: sync uapi headers
  meson: Introduce xe_staging build option
  xe/staging/xe_eudebug: test eudebug connection
  lib/staging/xe_eudebug: introduce eu debug testing framework
  xe/staging/xe_eudebug: test open close events
  xe/staging/xe_eudebug: exercise read_event ioctl
  xe/staging/xe_eudebug: add vm events sanity check
  xe/staging/xe_eudebug: Race discovery against eudebug attach.
  xe/staging/xe_eudebug: Add TEST/SUBTEST documentation

 include/drm-uapi/xe_drm_tmp.h |   76 +++
 lib/meson.build               |    3 +-
 lib/xe/staging/xe_eudebug.c   | 1047 +++++++++++++++++++++++++++++++++
 lib/xe/staging/xe_eudebug.h   |   89 +++
 meson.build                   |    1 +
 meson_options.txt             |    5 +
 tests/meson.build             |   17 +
 tests/xe/staging/xe_eudebug.c |  639 ++++++++++++++++++++
 8 files changed, 1876 insertions(+), 1 deletion(-)
 create mode 100644 include/drm-uapi/xe_drm_tmp.h
 create mode 100644 lib/xe/staging/xe_eudebug.c
 create mode 100644 lib/xe/staging/xe_eudebug.h
 create mode 100644 tests/xe/staging/xe_eudebug.c

-- 
2.34.1



More information about the igt-dev mailing list