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

Upadhyay, Tejas tejas.upadhyay at intel.com
Tue Aug 15 15:34:59 UTC 2023


Hi,

Can we have reviews on this please, sending RFC here to get initial review comments to avoid last moment restructuring if required!

Thanks,
Tejas

> -----Original Message-----
> From: Upadhyay, Tejas <tejas.upadhyay at intel.com>
> Sent: Wednesday, August 9, 2023 7:38 PM
> To: intel-xe at lists.freedesktop.org
> Cc: Brost, Matthew <matthew.brost at intel.com>; Upadhyay, Tejas
> <tejas.upadhyay at intel.com>
> Subject: [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
> 
> 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