[Intel-xe] [RFC 0/3] drm/xe: Add drm client infra to track client stats

Tejas Upadhyay tejas.upadhyay at intel.com
Wed Aug 9 14:07:43 UTC 2023


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

Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>

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

-- 
2.25.1



More information about the Intel-xe mailing list