Skip to content

Add SDMA user-mode queues support to amdkfd

Oded Gabbay dri-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v16 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/amd: Add SDMA functions to kfd-->kgd interfacedrivers/gpu/drm/amd/include/kgd_kfd_interface.h+12 -10 replies
2/7drm/radeon: Implement SDMA interface functionsdrivers/gpu/drm/radeon/cik_reg.h drivers/gpu/drm/radeon/radeon_kfd.c+312 -30 replies
3/7drm/amdkfd: Add SDMA mqd supportdrivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c drivers/gpu/drm/amd/amdkfd/kfd_priv.h+129 -00 replies
4/7drm/amdkfd: Add SDMA user-mode queues support to QCMdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c+154 -120 replies
5/7drm/amdkfd: Identify SDMA queue in create queue ioctldrivers/gpu/drm/amd/amdkfd/kfd_chardev.c+2 -00 replies
6/7drm/amdkfd: Pass queue type to pqm_create_queue()drivers/gpu/drm/amd/amdkfd/kfd_chardev.c+2 -20 replies
7/7drm/radeon: Enable sdma preemptiondrivers/gpu/drm/radeon/cik_sdma.c+29 -00 replies

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchOded GabbayAlex Deucher
SeriesR-b
1/7R-b
2/7
3/7
4/7
5/7R-b
6/7R-b
7/7A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] Add SDMA user-mode queues support to amdkfd

Although I didn't get any replies on v1, I still decided to send this v2, because:

a. Alex and I decided to move some H/W initialization functionallity
into radeon.

b. The next patch-set that I intend to send (prepare to support future
AMD GPUs) is based on this patch-set. Therefore, I wanted to quickly publish the most updated version of this patch-set.

The only change in this version is moving initialization of H/W registers into radeon driver, instead of putting it in the interface file. It is detailed in the relevant commits.

Link to cover letter of original version:
http://lists.freedesktop.org/archives/dri-devel/2014-December/073934.html

Oded Gabbay

Ben Goz (7):
drm/amd: Add SDMA functions to kfd-->kgd interface drm/radeon: Implement SDMA interface functions drm/amdkfd: Add SDMA mqd support
drm/amdkfd: Add SDMA user-mode queues support to QCM drm/amdkfd: Identify SDMA queue in create queue ioctl drm/amdkfd: Pass queue type to pqm_create_queue() drm/radeon: Enable sdma preemption

 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           |   6 +-
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  | 159 ++++++++++++++--
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h  |   5 +
 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c       | 121 +++++++++++++
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |   8 +
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |   2 +-
 drivers/gpu/drm/amd/include/kgd_kfd_interface.h    |  13 +-
 drivers/gpu/drm/radeon/cik_reg.h                   | 200 ++++++++++++++++++++-
 drivers/gpu/drm/radeon/cik_sdma.c                  |  29 +++
 drivers/gpu/drm/radeon/radeon_kfd.c                | 115 +++++++++++-
 10 files changed, 640 insertions(+), 18 deletions(-)
Signature · 6 lines
2.1.0

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel