[PULL resend] amdkfd-fixes

Oded Gabbay oded.gabbay at amd.com
Tue Jan 6 09:54:50 PST 2015


Hi Dave,

I'm resending this pull request due to Christian's email on the ioctl 
patch-set.

Highlights:

- Complete overhaul to the main IOCTL function, kfd_ioctl(), according to 
  drm_ioctl() example. This includes changing the IOCTL definitions, so it 
  breaks compatibility with previous versions of the userspace. However, 
  because the kernel was not officialy released yet, and this the first 
  kernel that includes amdkfd, I assume I can still do that at this stage.

- A couple of bug fixes for the non-HWS path (used for bring-ups and 
  debugging purposes only). 

Our QA team run a test on -rc2 and didn't discover any regressions, 
so I don't expect an additionl pull request for 3.19 unless something 
unexpected will pop-up.

	Oded

The following changes since commit 2f6bd4da08b5054ba933be6f7b17ed02ad6c4162:

  Merge tag 'amdkfd-fixes-2014-12-30' of git://people.freedesktop.org/~gabbayo/linux into linus (2015-01-04 17:44:43 +1000)

are available in the git repository at:


  git://people.freedesktop.org/~gabbayo/linux tags/amdkfd-fixes-2015-01-06

for you to fetch changes up to 76baee6c733bfef30fcf86cbd121e336b839e408:

  drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl() (2015-01-06 19:44:36 +0200)

----------------------------------------------------------------
Alexey Khoroshilov (1):
      drm/radeon: do not leave queue acquired if timeout happens in kgd_hqd_destroy()

Ben Goz (4):
      drm/amd: Fixing typos in kfd<->kgd interface
      drm/amdkfd: Load mqd to hqd in non-HWS mode
      drm/radeon: Assign VMID to PASID for IH in non-HWS mode
      drm/amdkfd: unmap VMID<-->PASID when relesing VMID (non-HWS)

Oded Gabbay (3):
      drm/amdkfd: Do copy_to/from_user in general kfd_ioctl()
      drm/amdkfd: reformat IOCTL definitions to drm-style
      drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl()

 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           | 315 +++++++++++----------
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  |  15 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c       |   2 +-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |  18 ++
 drivers/gpu/drm/amd/include/kgd_kfd_interface.h    |   2 +-
 drivers/gpu/drm/radeon/cikd.h                      |   2 +
 drivers/gpu/drm/radeon/radeon_kfd.c                |  11 +-
 include/uapi/linux/kfd_ioctl.h                     |  37 ++-
 8 files changed, 235 insertions(+), 167 deletions(-)


More information about the dri-devel mailing list