[PATCH v2 0/3] PF: Expose GT-level SR-IOV details over debugfs

Michal Wajdeczko michal.wajdeczko at intel.com
Tue Apr 23 13:12:41 UTC 2024


   /sys/kernel/debug/dri/0/
   +-- gt0
   |     +-- pf
   |     |    +-- contexts_provisioned
   |     |    +-- contexts_spare
   |     |    +-- doorbells_provisioned
   |     |    +-- doorbells_spare
   |     |    +-- exec_quantum_ms
   |     |    +-- ggtt_available
   |     |    +-- ggtt_provisioned
   |     |    +-- ggtt_spare
   |     |    +-- lmem_spare
   |     |    +-- preempt_timeout_us
   |     |    +-- reset_engine
   |     |    +-- sample_period_ms
   |     |    +-- sched_if_idle
   |     +-- vf1
   |     |    +-- contexts_quota
   |     |    +-- control
   |     |    +-- doorbells_quota
   |     |    +-- exec_quantum_ms
   |     |    +-- ggtt_quota
   |     |    +-- lmem_quota
   |     |    +-- preempt_timeout_us

v1: https://patchwork.freedesktop.org/series/132621/#rev1
v2: check for overflow in policy_set functions

Michal Wajdeczko (3):
  drm/xe/pf: Expose SR-IOV VFs configuration over debugfs
  drm/xe/pf: Expose SR-IOV VF control commands over debugfs
  drm/xe/pf: Expose SR-IOV policy settings over debugfs

 drivers/gpu/drm/xe/Makefile                 |   1 +
 drivers/gpu/drm/xe/xe_gt_debugfs.c          |   5 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 335 ++++++++++++++++++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.h |  18 ++
 4 files changed, 359 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.h

-- 
2.43.0



More information about the Intel-xe mailing list