dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Upstreaming the KFD IPC API
@ 2020-07-14  3:14 Felix Kuehling
  2020-07-14  3:14 ` [PATCH 1/1] drm/amdkfd: Add " Felix Kuehling
  0 siblings, 1 reply; 12+ messages in thread
From: Felix Kuehling @ 2020-07-14  3:14 UTC (permalink / raw)
  To: amd-gfx, dri-devel; +Cc: alexander.deucher, daniel.vetter

This API is used by MPI/UCX for efficiently sharing VRAM between MPI
ranks on the same node. It has been part of the ROCm DKMS branch for a
long time. This code is refactored to be less invasive for upstreaming.
As a result struct kfd_bo and the associated interval tree is not needed
upstream.

The introduction of this API upstream bumps the KFD API version to 1.4.

The corresponding Thunk change that goes with the proposed upstreaming of
this API can be found here:
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/commit/682922bd405caaab64887e8e702b7d996ba9e2a8

Felix Kuehling (1):
  drm/amdkfd: Add IPC API

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h    |   5 +
 .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  |  56 +++-
 drivers/gpu/drm/amd/amdkfd/Makefile           |   3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c      |  74 ++---
 drivers/gpu/drm/amd/amdkfd/kfd_ipc.c          | 263 ++++++++++++++++++
 drivers/gpu/drm/amd/amdkfd/kfd_ipc.h          |  55 ++++
 drivers/gpu/drm/amd/amdkfd/kfd_module.c       |   5 +
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h         |   5 +
 include/uapi/linux/kfd_ioctl.h                |  62 ++++-
 9 files changed, 488 insertions(+), 40 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_ipc.c
 create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_ipc.h

-- 
2.27.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-07-14 14:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-14  3:14 [PATCH 0/1] Upstreaming the KFD IPC API Felix Kuehling
2020-07-14  3:14 ` [PATCH 1/1] drm/amdkfd: Add " Felix Kuehling
2020-07-14  3:28   ` Dave Airlie
2020-07-14  4:09     ` Felix Kuehling
2020-07-14  4:26       ` Dave Airlie
2020-07-14  8:58         ` Daniel Vetter
2020-07-14  9:28           ` Christian König
2020-07-14  9:53             ` Daniel Vetter
2020-07-14 11:36               ` Christian König
2020-07-14 14:37                 ` Daniel Vetter
2020-07-14  5:05   ` Li, Dennis
2020-07-14  6:56     ` Felix Kuehling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox