[Intel-xe] [PATCH 0/1] Add throttle reasons sysfs

Sujaritha Sundaresan sujaritha.sundaresan at intel.com
Tue Aug 22 04:58:24 UTC 2023


Add throttle reasons sysfs under a separate throttle
folder under <dev>/gtN

Sujaritha Sundaresan (1):
  drm/xe: Add throttle reason sysfs attributes

 drivers/gpu/drm/xe/Makefile                   |   1 +
 drivers/gpu/drm/xe/regs/xe_gt_regs.h          |  13 +
 .../drm/xe/regs/xe_gt_throttle_sysfs_types.h  |  36 +++
 drivers/gpu/drm/xe/xe_gt.c                    |   3 +
 drivers/gpu/drm/xe/xe_gt_throttle_sysfs.c     | 282 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_gt_throttle_sysfs.h     |  17 ++
 .../gpu/drm/xe/xe_gt_throttle_sysfs_types.h   |  35 +++
 drivers/gpu/drm/xe/xe_gt_types.h              |   4 +
 8 files changed, 391 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/regs/xe_gt_throttle_sysfs_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_gt_throttle_sysfs.c
 create mode 100644 drivers/gpu/drm/xe/xe_gt_throttle_sysfs.h
 create mode 100644 drivers/gpu/drm/xe/xe_gt_throttle_sysfs_types.h

-- 
2.25.1



More information about the Intel-xe mailing list