[Intel-xe] [PATCH 0/3] Add support for XeLink device

David Kershner david.kershner at intel.com
Tue Aug 8 16:45:31 UTC 2023


First patch set introduce the needed Xe infrastructure to support
XeLink device.

The XeLink device is a glue-less module attached to a GPU device that
provides connectivity between different GPUs on the same system.

The XeLink 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 XeLink will use the auxiliary bus to enable the XeLink 
and the Xe to probe and communicate.

A followup series will include the XeLink driver code to provide
full functionality for the device.

David Kershner (3):
  drm/xe: Introduce a module parameter to control XeLink
  drm/xe: Introduce XeLink device
  drm/xe: Teach i915 how to use objects with XeLink connectivity

 drivers/gpu/drm/xe/Kconfig           |   1 +
 drivers/gpu/drm/xe/Makefile          |   3 +-
 drivers/gpu/drm/xe/regs/xe_gt_regs.h |  20 ++
 drivers/gpu/drm/xe/xe_bo.c           |  47 ++-
 drivers/gpu/drm/xe/xe_bo.h           |   2 +
 drivers/gpu/drm/xe/xe_device.c       |  13 +-
 drivers/gpu/drm/xe/xe_device_types.h |  27 ++
 drivers/gpu/drm/xe/xe_dma_buf.c      | 162 ++++++---
 drivers/gpu/drm/xe/xe_dma_buf.h      |   3 +
 drivers/gpu/drm/xe/xe_gt_types.h     |   2 +
 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 +
 drivers/gpu/drm/xe/xe_pt.c           |   7 +-
 drivers/gpu/drm/xe/xe_xelink.c       | 476 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_xelink.h       |  38 +++
 include/drm/intel_xelink_platform.h  | 140 ++++++++
 18 files changed, 921 insertions(+), 53 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_xelink.c
 create mode 100644 drivers/gpu/drm/xe/xe_xelink.h
 create mode 100644 include/drm/intel_xelink_platform.h

-- 
2.35.1



More information about the Intel-xe mailing list