[PATCH 0/5] PF: Add support to configure GuC SR-IOV policies

Michal Wajdeczko michal.wajdeczko at intel.com
Wed Apr 10 12:31:20 UTC 2024


Michal Wajdeczko (5):
  drm/xe/pf: Introduce mutex to protect VFs configurations
  drm/xe/pf: Introduce helper functions for use by PF
  drm/xe/guc: Add PF2GUC_UPDATE_VGT_POLICY to ABI
  drm/xe/guc: Add helpers for GuC KLVs
  drm/xe/pf: Add support to configure GuC SR-IOV policies

 drivers/gpu/drm/xe/Makefile                   |   2 +
 .../gpu/drm/xe/abi/guc_actions_sriov_abi.h    |  47 ++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_helpers.h   |  35 ++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c    | 417 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h    |  25 ++
 .../gpu/drm/xe/xe_gt_sriov_pf_policy_types.h  |  31 ++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h     |  21 +
 drivers/gpu/drm/xe/xe_gt_types.h              |   7 +
 drivers/gpu/drm/xe/xe_guc_klv_helpers.c       | 134 ++++++
 drivers/gpu/drm/xe/xe_guc_klv_helpers.h       |  51 +++
 drivers/gpu/drm/xe/xe_sriov.c                 |   7 +
 drivers/gpu/drm/xe/xe_sriov_pf.c              |  15 +
 drivers/gpu/drm/xe/xe_sriov_pf.h              |   6 +
 drivers/gpu/drm/xe/xe_sriov_pf_helpers.h      |  46 ++
 drivers/gpu/drm/xe/xe_sriov_types.h           |   4 +
 15 files changed, 848 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_helpers.h
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.h
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_policy_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_guc_klv_helpers.c
 create mode 100644 drivers/gpu/drm/xe/xe_guc_klv_helpers.h
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_pf_helpers.h

-- 
2.43.0



More information about the Intel-xe mailing list