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

Iddamsetty, Aravind aravind.iddamsetty at intel.com
Wed Aug 16 09:51:19 UTC 2023



On 09-08-2023 19:37, Tejas Upadhyay wrote:
> 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

I think adding more details as to what you wanted to do/track and how
you wanted to show would help get more feedback. eg: which interface
exposes this, how the output looks like.

Thanks,
Aravind.
> 
> 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
> 


More information about the Intel-xe mailing list