Skip to content

Add Intel Accelerated Fabric to Xe

David Kershner intel-xe 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 5 repliesIn review
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- Cleaned up kernel-doc comments

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Introduce a module parameter to control IAFdrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_iaf.c+19 -00 replies
2/3drm/xe: Introduce Intel Accelerated Fabric devicedrivers/gpu/drm/xe/Kconfig drivers/gpu/drm/xe/regs/xe_gt_regs.h drivers/gpu/drm/xe/xe_device.c +9 more+733 -45 replies
3/3drm/xe: Introduce Intel Accelerator fabric driverdrivers/gpu/drm/xe/Kconfig drivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/fabric/Kconfig +6 more+1569 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Intel-xe] [PATCH v3 0/3] Add Intel Accelerated Fabric to Xe

First patch set introduce the needed Xe infrastructure and includes the bare bones Intel Acclereated Fabric (IAF) driver.

This is the support code need for the XeLink available on the PVC devices.

The XeLink accelerated fabric device is a glueless module attached to a GPU device that provides fabric connectivity between different GPUs on the same system.

The IAF is part of the GPU (the register space is part of the GPU PCIe BAR), so it cannot be a completely separate device driver.

The Linux kernel provides an interface for handling this type of device, the Auxiliary Bus API.

The Xe and fabric will use the auxiliary bus to enable the fabric and the Xe to probe and communicate.

v2:
- Removed unused functions
- Restored include that was removed by accident
- Cleaned up blank lines at end of file
v3:
- Cleaned up kernel-doc comments

David Kershner (3):
drm/xe: Introduce a module parameter to control IAF drm/xe: Introduce Intel Accelerated Fabric device drm/xe: Introduce Intel Accelerator fabric driver

 drivers/gpu/drm/xe/Kconfig           |   6 +
 drivers/gpu/drm/xe/Makefile          |   2 +
 drivers/gpu/drm/xe/fabric/Kconfig    |  18 +
 drivers/gpu/drm/xe/fabric/Makefile   |  12 +
 drivers/gpu/drm/xe/fabric/csr.h      | 493 +++++++++++++++++++++
 drivers/gpu/drm/xe/fabric/iaf_drv.h  | 278 ++++++++++++
 drivers/gpu/drm/xe/fabric/main.c     | 632 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/fabric/sysfs.c    | 114 +++++
 drivers/gpu/drm/xe/fabric/sysfs.h    |  16 +
 drivers/gpu/drm/xe/regs/xe_gt_regs.h |  20 +
 drivers/gpu/drm/xe/xe_device.c       |  13 +-
 drivers/gpu/drm/xe/xe_device_types.h |  25 ++
 drivers/gpu/drm/xe/xe_gt_types.h     |   2 +
 drivers/gpu/drm/xe/xe_iaf.c          | 477 ++++++++++++++++++++
 drivers/gpu/drm/xe/xe_iaf.h          |  39 ++
 drivers/gpu/drm/xe/xe_irq.c          |  28 +-
 drivers/gpu/drm/xe/xe_mmio.c         |   2 +-
 drivers/gpu/drm/xe/xe_pci.c          |   2 +
 drivers/gpu/drm/xe/xe_pci_types.h    |   1 +
 include/drm/intel_iaf_platform.h     | 143 ++++++
 20 files changed, 2320 insertions(+), 3 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/fabric/Kconfig
 create mode 100644 drivers/gpu/drm/xe/fabric/Makefile
 create mode 100644 drivers/gpu/drm/xe/fabric/csr.h
 create mode 100644 drivers/gpu/drm/xe/fabric/iaf_drv.h
 create mode 100644 drivers/gpu/drm/xe/fabric/main.c
 create mode 100644 drivers/gpu/drm/xe/fabric/sysfs.c
 create mode 100644 drivers/gpu/drm/xe/fabric/sysfs.h
 create mode 100644 drivers/gpu/drm/xe/xe_iaf.c
 create mode 100644 drivers/gpu/drm/xe/xe_iaf.h
 create mode 100644 include/drm/intel_iaf_platform.h
Signature · 1 line
2.35.1