[Intel-xe] [PATCH 0/5] Introduce Local Memory Translation Table

Michal Wajdeczko michal.wajdeczko at intel.com
Tue Nov 28 15:15:02 UTC 2023


The Local Memory Translation Table (LMTT) is required to support
SR-IOV on discrete GPUs. In addition to the core LMTT code also
introduce helpers that will be used by other upcoming SR-IOV code.

Michal Wajdeczko (5):
  drm/xe: Define DRM_XE_DEBUG_SRIOV config
  drm/xe: Introduce SR-IOV logging macros
  drm/xe/pf: Introduce Local Memory Translation Table
  drm/xe/kunit: Enable CONFIG_PCI_IOV in .kunitconfig
  drm/xe/kunit: Add test for LMTT operations

 drivers/gpu/drm/xe/.kunitconfig         |   1 +
 drivers/gpu/drm/xe/Kconfig.debug        |  10 +
 drivers/gpu/drm/xe/Makefile             |   5 +
 drivers/gpu/drm/xe/regs/xe_sriov_regs.h |  17 +
 drivers/gpu/drm/xe/tests/xe_lmtt_test.c |  73 ++++
 drivers/gpu/drm/xe/xe_device_types.h    |   8 +
 drivers/gpu/drm/xe/xe_gt.c              |  10 +
 drivers/gpu/drm/xe/xe_lmtt.c            | 506 ++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_lmtt.h            |  27 ++
 drivers/gpu/drm/xe/xe_lmtt_2l.c         | 150 +++++++
 drivers/gpu/drm/xe/xe_lmtt_ml.c         | 161 ++++++++
 drivers/gpu/drm/xe/xe_lmtt_types.h      |  63 +++
 drivers/gpu/drm/xe/xe_sriov_printk.h    |  46 +++
 13 files changed, 1077 insertions(+)
 create mode 100644 drivers/gpu/drm/xe/regs/xe_sriov_regs.h
 create mode 100644 drivers/gpu/drm/xe/tests/xe_lmtt_test.c
 create mode 100644 drivers/gpu/drm/xe/xe_lmtt.c
 create mode 100644 drivers/gpu/drm/xe/xe_lmtt.h
 create mode 100644 drivers/gpu/drm/xe/xe_lmtt_2l.c
 create mode 100644 drivers/gpu/drm/xe/xe_lmtt_ml.c
 create mode 100644 drivers/gpu/drm/xe/xe_lmtt_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_sriov_printk.h

-- 
2.25.1



More information about the Intel-xe mailing list