All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] Add KFD GPUVM support for dGPUs v3
@ 2018-03-04  2:34 Felix Kuehling
       [not found] ` <1520130907-5059-1-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 26+ messages in thread
From: Felix Kuehling @ 2018-03-04  2:34 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	oded.gabbay-Re5JQEeQqe8AvxtiuMwx3w
  Cc: Felix Kuehling

Update of what's left of the previous 25-patch series. Rebased on new
4.16-rc1 amdkfd-next branch. Added ability to use VMs from DRM render
node file descriptors as discussed with Christian. In order to keep
backwards compatibility with older Thunks without GPUVM support, we
still need the ability to create our own VMs as a fallback. The
alternative would be checking for !pdd->vm in lots of places, which
would be more prone to errors.

This patch series requires an updated Thunk because the ioctl numbers
shifted since v2. I pushed and update to fxkamd/drm-next-wip on
github.com:RadeonOpenCompute/ROCT-Thunk-Interface.git that also uses
the new acquire_vm ioctl.

Felix Kuehling (13):
  drm/amdgpu: Move KFD-specific fields into struct amdgpu_vm
  drm/amdgpu: Fix initial validation of PD BO for KFD VMs
  drm/amdgpu: Add helper to turn an existing VM into a compute VM
  drm/amdgpu: Add kfd2kgd interface to acquire an existing VM
  drm/amdkfd: Create KFD VMs on demand
  drm/amdkfd: Remove limit on number of GPUs
  drm/amdkfd: Aperture setup for dGPUs
  drm/amdkfd: Add per-process IDR for buffer handles
  drm/amdkfd: Allocate CWSR trap handler memory for dGPUs
  drm/amdkfd: Add TC flush on VMID deallocation for Hawaii
  drm/amdkfd: Add ioctls for GPUVM memory management
  drm/amdkfd: Kmap event page for dGPUs
  drm/amdkfd: Add module option for testing large-BAR functionality

Oak Zeng (1):
  drm/amdkfd: Populate DRM render device minor

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |  27 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c  |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c  |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   | 246 ++++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             |  85 ++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h             |  13 +
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           | 533 +++++++++++++++++++++
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c              |   3 +
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |  22 +-
 drivers/gpu/drm/amd/amdkfd/kfd_events.c            |  31 +-
 drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c       |  59 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_module.c            |   5 +
 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c    |  37 ++
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |  37 ++
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           | 304 +++++++++++-
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c          |   4 +
 drivers/gpu/drm/amd/amdkfd/kfd_topology.h          |   1 +
 drivers/gpu/drm/amd/include/kgd_kfd_interface.h    |   4 +
 include/uapi/linux/kfd_ioctl.h                     |  87 +++-
 19 files changed, 1345 insertions(+), 155 deletions(-)

-- 
2.7.4

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

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

end of thread, other threads:[~2018-03-12  5:39 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-04  2:34 [PATCH 00/14] Add KFD GPUVM support for dGPUs v3 Felix Kuehling
     [not found] ` <1520130907-5059-1-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-03-04  2:34   ` [PATCH 01/14] drm/amdgpu: Move KFD-specific fields into struct amdgpu_vm Felix Kuehling
2018-03-04  2:34   ` [PATCH 02/14] drm/amdgpu: Fix initial validation of PD BO for KFD VMs Felix Kuehling
2018-03-04  2:34   ` [PATCH 03/14] drm/amdgpu: Add helper to turn an existing VM into a compute VM Felix Kuehling
     [not found]     ` <1520130907-5059-4-git-send-email-Felix.Kuehling-5C7GfCeVMHo@public.gmane.org>
2018-03-05 12:17       ` Christian König
     [not found]         ` <7416e24d-ac02-0572-4f82-fa119299de4e-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-03-05 16:58           ` Felix Kuehling
     [not found]             ` <cabe8a33-57b5-6f88-2de0-f443f59b6821-5C7GfCeVMHo@public.gmane.org>
2018-03-05 17:14               ` Christian König
     [not found]                 ` <4500c212-0c6d-42e1-a26a-ffec29a15831-5C7GfCeVMHo@public.gmane.org>
2018-03-05 17:22                   ` Felix Kuehling
     [not found]                     ` <4182f586-26a1-62d5-fd7f-c842b824c32c-5C7GfCeVMHo@public.gmane.org>
2018-03-05 17:50                       ` Christian König
     [not found]                         ` <772ba8b8-2137-0493-cb31-0f0cc02733fa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-03-05 22:33                           ` Felix Kuehling
     [not found]                             ` <5114bdd2-74bf-544b-660e-d9574641d53a-5C7GfCeVMHo@public.gmane.org>
2018-03-06  8:20                               ` Christian König
2018-03-05 19:01                   ` Felix Kuehling
2018-03-05 19:32                   ` Alex Deucher
2018-03-04  2:34   ` [PATCH 04/14] drm/amdgpu: Add kfd2kgd interface to acquire an existing VM Felix Kuehling
2018-03-04  2:34   ` [PATCH 05/14] drm/amdkfd: Create KFD VMs on demand Felix Kuehling
2018-03-04  2:34   ` [PATCH 06/14] drm/amdkfd: Populate DRM render device minor Felix Kuehling
2018-03-04  2:35   ` [PATCH 07/14] drm/amdkfd: Remove limit on number of GPUs Felix Kuehling
2018-03-04  2:35   ` [PATCH 08/14] drm/amdkfd: Aperture setup for dGPUs Felix Kuehling
2018-03-04  2:35   ` [PATCH 09/14] drm/amdkfd: Add per-process IDR for buffer handles Felix Kuehling
2018-03-04  2:35   ` [PATCH 10/14] drm/amdkfd: Allocate CWSR trap handler memory for dGPUs Felix Kuehling
2018-03-04  2:35   ` [PATCH 11/14] drm/amdkfd: Add TC flush on VMID deallocation for Hawaii Felix Kuehling
2018-03-04  2:35   ` [PATCH 12/14] drm/amdkfd: Add ioctls for GPUVM memory management Felix Kuehling
2018-03-04  2:35   ` [PATCH 13/14] drm/amdkfd: Kmap event page for dGPUs Felix Kuehling
2018-03-04  2:35   ` [PATCH 14/14] drm/amdkfd: Add module option for testing large-BAR functionality Felix Kuehling
2018-03-11  9:31   ` [PATCH 00/14] Add KFD GPUVM support for dGPUs v3 Oded Gabbay
     [not found]     ` <CAFCwf11fxzCXe9kk+61_+_azAeQ7kMw2nF=0_hMOUs9A7=QUUw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-03-12  5:39       ` Kuehling, Felix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.