[Intel-xe] [RFC 0/2] drm/xe: Introduce eudebug event interface v2

Mika Kuoppala mika.kuoppala at linux.intel.com
Tue May 2 10:35:48 UTC 2023


Hi,

This series introduces eudebug connection and
event uapi interface for a debugger to track
clients drm/xe resources. xe_file (client) and the
vm resources are introduced as a baseline, leaving
rest of the events as follow up patches at a later
time.

To support use case where debugger is connecting
to a drm/xe client which already has opened
connection(s) to xe driver and allocated vm(s),
patch 3/3 introduces discovery where all
currently active resources are presented through
events for the connected debugger.

v2: - access control root only, for now
    - debugs streamlined

Mika Kuoppala (2):
  drm/xe/eudebug: Introduce eudebug support
  drm/xe/eudebug: Introduce discovery for resources

 drivers/gpu/drm/xe/Makefile           |    3 +-
 drivers/gpu/drm/xe/xe_device.c        |   24 +-
 drivers/gpu/drm/xe/xe_device_types.h  |   25 +
 drivers/gpu/drm/xe/xe_eudebug.c       | 1105 +++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_eudebug.h       |   27 +
 drivers/gpu/drm/xe/xe_eudebug_types.h |  176 ++++
 drivers/gpu/drm/xe/xe_vm.c            |    5 +
 include/uapi/drm/xe_drm_tmp.h         |   76 ++
 8 files changed, 1439 insertions(+), 2 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_eudebug.c
 create mode 100644 drivers/gpu/drm/xe/xe_eudebug.h
 create mode 100644 drivers/gpu/drm/xe/xe_eudebug_types.h
 create mode 100644 include/uapi/drm/xe_drm_tmp.h

-- 
2.34.1



More information about the Intel-xe mailing list