[PATCH 0/9] KFD dGPU initialization

Felix Kuehling felix.kuehling at amd.com
Sat Jan 27 00:35:59 UTC 2018


The PCI atomic patch has been accepted by Bjorn Helgaas and should be
included in 4.16. That means the rest of these patches should be good to
apply once you update your tree to 4.16. I've rebased my tree on your
latest (still 4.15-rc4) without any conflicts. But let me know if you
want me to send you a rebased version of this series.

I'm about to send out a series of 25 patches that enables GPUVM support,
based on top of this series.

Regards,
  Felix


On 2018-01-04 05:17 PM, Felix Kuehling wrote:
> Remaining patches from the previous 37-patch series.
>
> Patch 1: Reworked PCIe atomic patch with feedback from PCI maintainers
> Patch 2-9: Rebased from previous series
>
> CC-ed linux-pci at vger.kernel.org on relevant patches for context.
>
> Felix Kuehling (8):
>   drm/amdkfd: Conditionally enable PCIe atomics
>   drm/amdkfd: Make IOMMUv2 code conditional
>   drm/amdkfd: Make sched_policy a per-device setting
>   drm/amdkfd: Add dGPU support to the device queue manager
>   drm/amdkfd: Add dGPU support to the MQD manager
>   drm/amdkfd: Add dGPU support to kernel_queue_init
>   drm/amdkfd: Add dGPU device IDs and device info
>   drm/amdgpu: Enable KFD initialization on dGPUs
>
> Jay Cornwall (1):
>   PCI: Add pci_enable_atomic_ops_to_root
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c         |   5 +
>  drivers/gpu/drm/amd/amdkfd/Kconfig                 |   2 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           |   3 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_crat.c              |   8 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.c            |   3 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_device.c            | 234 +++++++++++++++++++--
>  .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |  33 ++-
>  .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h  |   5 +
>  .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c  |  56 +++++
>  .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c   |  93 ++++++++
>  drivers/gpu/drm/amd/amdkfd/kfd_events.c            |   2 +
>  drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c      |   5 +
>  drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c       |   7 +
>  drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c   |  35 ++-
>  drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c    |  21 ++
>  drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |  10 +
>  drivers/gpu/drm/amd/amdkfd/kfd_process.c           |  17 +-
>  .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |   3 +-
>  drivers/gpu/drm/amd/amdkfd/kfd_topology.c          |   2 +
>  drivers/gpu/drm/amd/amdkfd/kfd_topology.h          |   2 +
>  drivers/pci/pci.c                                  |  80 +++++++
>  include/linux/pci.h                                |   1 +
>  include/uapi/linux/pci_regs.h                      |   4 +-
>  23 files changed, 592 insertions(+), 39 deletions(-)
>



More information about the amd-gfx mailing list