Skip to content

Add support for XeLink device

David Kershner intel-xe 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v33 patches 4 repliesSuperseded
  3. v23 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Introduce XeLink devicedrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/regs/xe_gt_regs.h drivers/gpu/drm/xe/xe_device.c +9 more+719 -30 replies
2/3drm/xe: Teach Xe how to use objects with XeLink connectivitydrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_bo.h drivers/gpu/drm/xe/xe_dma_buf.c +8 more+258 -700 replies
3/3drm/xe/uapi: Augment query ioctl to allow for fabricdrivers/gpu/drm/xe/xe_query.c include/uapi/drm/xe_drm.h+80 -00 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/3] Add support for XeLink device

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.

Changes from version 1:
- Fix kernel-doc error
Changes from version 2:
- Fix up rebase conflicts
Changes from version 3:
- Cleaned up xe_link.h header and removed unrequired include

David Kershner (3):
drm/xe: Introduce XeLink device
drm/xe: Teach Xe how to use objects with XeLink connectivity drm/xe/uapi: Augment query ioctl to allow for fabric

 drivers/gpu/drm/xe/Makefile          |   1 +
 drivers/gpu/drm/xe/regs/xe_gt_regs.h |  30 ++
 drivers/gpu/drm/xe/xe_bo.c           |  46 ++-
 drivers/gpu/drm/xe/xe_bo.h           |   2 +
 drivers/gpu/drm/xe/xe_device.c       |  13 +-
 drivers/gpu/drm/xe/xe_device_types.h |  24 ++
 drivers/gpu/drm/xe/xe_dma_buf.c      | 209 ++++++++----
 drivers/gpu/drm/xe/xe_dma_buf.h      |   3 +
 drivers/gpu/drm/xe/xe_ggtt.c         |   3 +
 drivers/gpu/drm/xe/xe_gt_types.h     |   2 +
 drivers/gpu/drm/xe/xe_irq.c          |  22 ++
 drivers/gpu/drm/xe/xe_link.c         | 478 +++++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_link.h         |  20 ++
 drivers/gpu/drm/xe/xe_mmio.c         |   3 +-
 drivers/gpu/drm/xe/xe_pci.c          |   2 +
 drivers/gpu/drm/xe/xe_pci_types.h    |   1 +
 drivers/gpu/drm/xe/xe_pt.c           |   2 +
 drivers/gpu/drm/xe/xe_query.c        |  54 +++
 drivers/gpu/drm/xe/xe_trace.h        |  29 ++
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c |  17 +-
 drivers/gpu/drm/xe/xe_vm.c           |   3 +-
 include/drm/xelink_platform.h        | 140 ++++++++
 include/uapi/drm/xe_drm.h            |  26 ++
 23 files changed, 1057 insertions(+), 73 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_link.c
 create mode 100644 drivers/gpu/drm/xe/xe_link.h
 create mode 100644 include/drm/xelink_platform.h
Signature · 1 line
2.38.1