AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [git pull] amdkfd next 4.17
@ 2018-03-11 10:32 Oded Gabbay
  0 siblings, 0 replies; 2+ messages in thread
From: Oded Gabbay @ 2018-03-11 10:32 UTC (permalink / raw)
  To: airlied; +Cc: amd-gfx, dri-devel

Hi Dave,

amdkfd pull request for 4.17, without any new IOCTL stuff and the issues
under debate.

Major points for this pull request:
- Add dGPU support for amdkfd initialization code and queue handling. It's
  not complete support since the GPUVM part is missing (the under debate stuff).
- Enable PCIe atomics for dGPU if present
- Various adjustments to the amdgpu<-->amdkfd interface for dGPUs
- Refactor IOMMUv2 code to allow loading amdkfd without IOMMUv2 in the system
- Add HSA process eviction code in case of system memory pressure
- Various fixes and small changes

The following changes since commit 128ccceaba8656573b8b0f86d3ab6e38094cc754:

  Merge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux into drm-next (2018-03-09 10:50:45 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~gabbayo/linux tags/drm-amdkfd-next-2018-03-11

for you to fetch changes up to a11024457d348672b26b3d4581ed19c793399b48:

  uapi: Fix type used in ioctl parameter structures (2018-02-06 20:32:46 -0500)

----------------------------------------------------------------
Felix Kuehling (20):
      drm/amdkfd: Conditionally enable PCIe atomics
      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
      drm/amdgpu: remove useless BUG_ONs
      drm/amdgpu: Fix header file dependencies
      drm/amdgpu: Fix wrong mask in get_atc_vmid_pasid_mapping_pasid
      drm/amdgpu: Remove unused kfd2kgd interface
      drm/amdgpu: Add KFD eviction fence
      drm/amdgpu: Update kgd2kfd_shared_resources for dGPU support
      drm/amdgpu: add amdgpu_sync_clone
      drm/amdgpu: Add GPUVM memory management functions for KFD
      drm/amdgpu: Add submit IB function for KFD
      drm/amdkfd: Centralize IOMMUv2 code and make it conditional
      drm/amdkfd: Add GPUVM virtual address space to PDD
      drm/amdkfd: Implement KFD process eviction/restore
      uapi: Fix type used in ioctl parameter structures

Gustavo A. R. Silva (1):
      drm/amdkfd: Use ARRAY_SIZE macro in kfd_build_sysfs_node_entry

Harish Kasiviswanathan (1):
      drm/amdkfd: Remove unaligned memory access

Oded Gabbay (1):
      dma-fence: add comment for WARN_ON in dma_fence_release()

Yong Zhao (1):
      drm/amdgpu: Replace kgd_mem with amdgpu_bo for kernel pinned gtt mem

 MAINTAINERS                                        |    2 +
 drivers/dma-buf/dma-fence.c                        |    1 +
 drivers/gpu/drm/amd/amdgpu/Makefile                |    2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c         |  132 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |  112 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c   |  179 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c  |   80 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c  |   82 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   | 1506 ++++++++++++++++++++
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c         |    4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h         |    2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h           |    6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c           |   56 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h           |    1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c            |   25 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h             |    1 +
 drivers/gpu/drm/amd/amdkfd/Kconfig                 |    3 +-
 drivers/gpu/drm/amd/amdkfd/Makefile                |    4 +
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           |    3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c              |   14 +-
 drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.c            |    3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_device.c            |  356 +++--
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |  301 +++-
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h  |   14 +
 .../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            |    3 +
 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c             |  357 +++++
 drivers/gpu/drm/amd/amdkfd/kfd_iommu.h             |   78 +
 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c      |    5 +
 drivers/gpu/drm/amd/amdkfd/kfd_module.c            |    2 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c       |    7 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c   |   44 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c    |   27 +-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |   62 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           |  362 +++--
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |    3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c          |   18 +-
 drivers/gpu/drm/amd/amdkfd/kfd_topology.h          |    6 +-
 drivers/gpu/drm/amd/include/kgd_kfd_interface.h    |   99 +-
 include/uapi/linux/kfd_ioctl.h                     |    8 +-
 41 files changed, 3757 insertions(+), 362 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_fence.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
 create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_iommu.c
 create mode 100644 drivers/gpu/drm/amd/amdkfd/kfd_iommu.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [git pull] amdkfd next 4.17
@ 2018-03-27 14:29 Oded Gabbay
  0 siblings, 0 replies; 2+ messages in thread
From: Oded Gabbay @ 2018-03-27 14:29 UTC (permalink / raw)
  To: airlied; +Cc: amd-gfx, dri-devel

Hi Dave,

Last pull for 4.17. Highlights:

- GPUVM support for dGPUs
- KFD events support for dGPUs
- Fix live-lock situation when restoring multiple evicted processes
- Fix VM page table allocation on large-bar systems
- Fix for build failure on frv architecture

The following changes since commit 33d009cd889490838c5db9b9339856c9e3d3facc:

  Merge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux into drm-next (2018-03-26 10:01:11 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~gabbayo/linux tags/drm-amdkfd-next-2018-03-27

for you to fetch changes up to 1679ae8f8f4148766423066aeb3dbb0a985a373a:

  drm/amdkfd: Use ordered workqueue to restore processes (2018-03-23 15:30:36 -0400)

----------------------------------------------------------------
Arnd Bergmann (1):
      drm/amdkfd: fix uninitialized variable use

Felix Kuehling (15):
      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
      drm/amdgpu: Fix acquiring VM on large-BAR systems
      drm/amdkfd: Use ordered workqueue to restore processes

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

Oded Gabbay (1):
      drm/amdkfd: add missing include of mm.h

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |  28 +-
 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   | 249 ++++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c             |  73 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h             |  10 +
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           | 532 +++++++++++++++++++++
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c              |   5 +-
 .../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            |  11 +-
 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c    |  37 ++
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |  39 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           | 334 ++++++++++++-
 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                     | 122 ++++-
 19 files changed, 1398 insertions(+), 165 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2018-03-27 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-27 14:29 [git pull] amdkfd next 4.17 Oded Gabbay
  -- strict thread matches above, loose matches on Subject: below --
2018-03-11 10:32 Oded Gabbay

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