Skip to content

RFC drm/xe: Introduce eudebug event interface v2

Mika Kuoppala intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe/eudebug: Introduce eudebug supportdrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_device_types.h +5 more+1323 -21 reply
2/2drm/xe/eudebug: Introduce discovery for resourcesdrivers/gpu/drm/xe/xe_eudebug.c drivers/gpu/drm/xe/xe_eudebug_types.h+117 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
Signature · 1 line
2.34.1