Skip to content

RFC drm/xe: Add drm client infra to track client stats

Tejas Upadhyay intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Add drm-client infrastructuredrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_device_types.h +2 more+93 -10 replies
2/3drm/xe: Interface xe drm client with fdinfo interfacedrivers/gpu/drm/xe/xe_device.c drivers/gpu/drm/xe/xe_drm_client.c drivers/gpu/drm/xe/xe_drm_client.h+6 -00 replies
3/3drm/xe: Add tracking support for bos per clientdrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_bo_types.h drivers/gpu/drm/xe/xe_drm_client.c +1 more+76 -10 replies

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/3] drm/xe: Add drm client infra to track client stats

This series adds below in corrosponding patch no.:
1. drm-client infrastructure to identify each client and its related stats
2. Interface drm core fdinfo API to drm client infra
3. Adds API for tracking per client buffer offects

Tejas Upadhyay (3):
drm/xe: Add drm-client infrastructure drm/xe: Interface xe drm client with fdinfo interface drm/xe: Add tracking support for bos per client

 drivers/gpu/drm/xe/Makefile          |  1 +
 drivers/gpu/drm/xe/xe_bo.c           |  5 ++
 drivers/gpu/drm/xe/xe_bo_types.h     | 10 ++++
 drivers/gpu/drm/xe/xe_device.c       | 14 +++++-
 drivers/gpu/drm/xe/xe_device_types.h |  3 ++
 drivers/gpu/drm/xe/xe_drm_client.c   | 71 ++++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_drm_client.h   | 71 ++++++++++++++++++++++++++++
 7 files changed, 174 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/xe/xe_drm_client.c
 create mode 100644 drivers/gpu/drm/xe/xe_drm_client.h
Signature · 1 line
2.25.1