[git pull] amdkfd next 4.14

Oded Gabbay oded.gabbay at gmail.com
Fri Aug 18 18:01:56 UTC 2017


Hi Dave,

This is the amdkfd pull request for 4.14 merge window.
AMD has started cleaning the pipe and sending patches from their internal
development to the upstream community.

The plan as I understand it is to first get all the non-dGPU patches to
upstream and then move to upstream dGPU support.

The patches here are relevant only for Kaveri and Carrizo.

The following is a summary of the changes:
- Add new IOCTL to set a Scratch memory VA
- Update PM4 headers for new firmware that support scratch memory
- Support image tiling mode
- Remove all uses of BUG_ON
- Various Bug fixes and coding style fixes

Thanks,
Oded

The following changes since commit 8824c751eb61ebffb053c291199932845bac88b4:

  Merge tag 'omapdrm-4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next (2017-08-18 05:41:32 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~gabbayo/linux tags/drm-amdkfd-next-2017-08-18

for you to fetch changes up to 5d71dbc3a588690c3d66d76db8cd29973425ce6d:

  drm/amdkfd: Implement image tiling mode support v2 (2017-08-15 23:00:22 -0400)

----------------------------------------------------------------
Felix Kuehling (13):
      drm/amdkfd: Fix typo in dbgdev_wave_reset_wavefronts
      drm/radeon: Return dword offsets of address watch registers
      drm/amdkfd: Remove bogus divide-by-sizeof(uint32_t)
      drm/amdkfd: Fix allocated_queues bitmap initialization
      drm/amdgpu: Remove hard-coded assumptions about compute pipes
      drm/amdkfd: Remove BUG_ONs for NULL pointer arguments
      drm/amdkfd: Fix doorbell initialization and finalization
      drm/amdkfd: Allocate gtt_sa_bitmap in long units
      drm/amdkfd: Handle remaining BUG_ONs more gracefully v2
      drm/amdkfd: Update PM4 packet headers
      drm/amdgpu: Disable GFX PG on CZ
      drm/amd: Update MEC HQD loading code for KFD
      drm/amdgpu: Program SH_STATIC_MEM_CONFIG globally, not per-VMID

Jay Cornwall (1):
      drm/amdkfd: Clamp EOP queue size correctly on Gfx8

Kent Russell (5):
      drm/amdkfd: Clean up KFD style errors and warnings v2
      drm/amdkfd: Consolidate and clean up log commands
      drm/amdkfd: Change x==NULL/false references to !x
      drm/amdkfd: Fix goto usage v2
      drm/amdkfd: Remove usage of alloc(sizeof(struct...

Moses Reuben (2):
      drm/amdgpu: Add kgd/kfd interface to support scratch memory v2
      drm/amdkfd: Adding new IOCTL for scratch memory v2

Yong Zhao (3):
      drm/amdkfd: Add more error printing to help bringup v2
      drm/amdgpu: Add kgd kfd interface get_tile_config() v2
      drm/amdkfd: Implement image tiling mode support v2

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c         |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |  16 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c  | 189 ++++++++++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c  | 227 ++++++++++++--
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c              |   2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c              |   3 +-
 drivers/gpu/drm/amd/amdgpu/vi.c                    |   3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           | 183 ++++++++----
 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c            | 102 +++----
 drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.c            |  21 +-
 drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.h            |  27 +-
 drivers/gpu/drm/amd/amdkfd/kfd_device.c            | 123 ++++----
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  | 316 ++++++++------------
 .../drm/amd/amdkfd/kfd_device_queue_manager_cik.c  |   8 +-
 .../drm/amd/amdkfd/kfd_device_queue_manager_vi.c   |   8 +-
 drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c          |  40 +--
 drivers/gpu/drm/amd/amdkfd/kfd_events.c            |  33 +--
 drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c       |   2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c         |   2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c      |  63 ++--
 drivers/gpu/drm/amd/amdkfd/kfd_module.c            |  10 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h       |   3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c   |  62 ++--
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c    |  46 +--
 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c    | 294 ++++++------------
 drivers/gpu/drm/amd/amdkfd/kfd_pasid.c             |   7 +-
 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h       | 330 +++------------------
 drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h    | 140 ++++++++-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |  32 +-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           |  25 +-
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |  71 ++---
 drivers/gpu/drm/amd/amdkfd/kfd_queue.c             |  12 +-
 drivers/gpu/drm/amd/amdkfd/kfd_topology.c          |  46 +--
 drivers/gpu/drm/amd/include/kgd_kfd_interface.h    |  30 +-
 drivers/gpu/drm/radeon/radeon_kfd.c                |  15 +-
 include/uapi/linux/kfd_ioctl.h                     |  37 ++-
 36 files changed, 1280 insertions(+), 1252 deletions(-)


More information about the dri-devel mailing list