[Intel-xe] [PATCH 0/6] drm/xe: Add engine scheduler control interface

Tejas Upadhyay tejas.upadhyay at intel.com
Thu Jun 15 14:19:27 UTC 2023


Patch series introduces this in several patches,
1. Add basic directory structure under its GT, as below
   DUT# cat /sys/class/drm/cardX/device/gtN/engines/
   ccs/ bcs/
2. Add default entries with its value for user to go back
   to default
3,4,5 : Add individual engine properties sysfs entry
6: Introduce min/max to control in what range these properties 
   can be set for elevated and non-elevated users.

VLK-46764, VLK-46767

Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
Tejas Upadhyay (6):
  drm/xe: Add sysfs entries for engines under its GT
  drm/xe: Add sysfs for default engine scheduler properties
  drm/xe: Add job timeout engine property to sysfs
  drm/xe: Add timeslice duration engine property to sysfs
  drm/xe: Add sysfs for preempt reset timeout
  drm/xe: Add min/max cap for engine scheduler properties

 drivers/gpu/drm/xe/Kconfig              |   7 +
 drivers/gpu/drm/xe/Kconfig.profile      |  39 ++
 drivers/gpu/drm/xe/xe_engine.c          |  44 +-
 drivers/gpu/drm/xe/xe_gt.c              |   6 +
 drivers/gpu/drm/xe/xe_gt_sysfs.c        | 617 ++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_gt_sysfs.h        |   9 +
 drivers/gpu/drm/xe/xe_gt_sysfs_types.h  |  13 +
 drivers/gpu/drm/xe/xe_guc_submit.c      |   5 +-
 drivers/gpu/drm/xe/xe_hw_engine.c       |  11 +
 drivers/gpu/drm/xe/xe_hw_engine.h       |  31 ++
 drivers/gpu/drm/xe/xe_hw_engine_types.h |  23 +
 11 files changed, 799 insertions(+), 6 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/Kconfig.profile

-- 
2.25.1



More information about the Intel-xe mailing list