Skip to content

KFD queue management improvements and fixes

Felix Kuehling amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/amdkfd: Avoid name confusion involved in queue unmappingdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c drivers/gpu/drm/amd/amdkfd/kfd_priv.h+35 -351 reply
2/9drm/amdkfd: Simplify execute and unmap queue APIsdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c+32 -432 replies
3/9drm/amdkfd: Fix MQD updatesdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c+62 -221 reply
4/9drm/amdkfd: Avoid submitting an unnecessary packet to HWSdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c+16 -123 replies
5/9drm/amdkfd: Improve process termination handling in the queue managerdrivers/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_priv.h +2 more+200 -831 reply
6/9drm/amdkfd: Compress unnecessary function parametersdrivers/gpu/drm/amd/amdkfd/kfd_chardev.c drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c drivers/gpu/drm/amd/amdkfd/kfd_priv.h +1 more+7 -131 reply
7/9drm/amdkfd: Clean up process queue managementdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c drivers/gpu/drm/amd/amdkfd/kfd_priv.h +1 more+8 -141 reply
8/9drm/amdkfd: Limit queue number per process and device to 127drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c+6 -41 reply
9/9drm/amdkfd: Improve multiple SDMA queues support per processdrivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c+16 -151 reply

Reviews trailers per patch

4 of 9 patches have a Reviewed-by or Acked-by.

PatchOded Gabbay
1/9R-b
2/9
3/9
4/9
5/9
6/9R-b
7/9R-b
8/9R-b
9/9

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

Read the v1 thread

Cover letter [PATCH 0/9] KFD queue management improvements and fixes

These patches cherry-pick most fixes, improvements and refactoring in the device queue manager from our internal branch. I squashed some patches that applied incremental fixes to the same code. Patch 5 is the extreme case that comes with a bunch of refactoring too. I think I squashed about a dozen patches by 5 authors that all overlapped and and applied incremental fixes and improvements to process termination handling.

The last missing fixes in kfd_device_queue_manager.c are related to SDMA, which I'll leave for another patch series that also need changes in amdgpu. It will also add SDMA support for CZ. That's another 11 patches that I may be able to squash to 2 or 3.

Felix Kuehling (4):
drm/amdkfd: Fix MQD updates
drm/amdkfd: Improve process termination handling in the queue manager drm/amdkfd: Clean up process queue management
drm/amdkfd: Limit queue number per process and device to 127

Yong Zhao (4):
drm/amdkfd: Avoid name confusion involved in queue unmapping drm/amdkfd: Simplify execute and unmap queue APIs drm/amdkfd: Avoid submitting an unnecessary packet to HWS drm/amdkfd: Compress unnecessary function parameters

shaoyunl (1):
drm/amdkfd: Improve multiple SDMA queues support per process

 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           |   3 +-
 drivers/gpu/drm/amd/amdkfd/kfd_dbgdev.c            |   5 +-
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c  | 376 ++++++++++++++-------
 .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h  |   5 +
 drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c    |  27 +-
 drivers/gpu/drm/amd/amdkfd/kfd_priv.h              |  41 ++-
 drivers/gpu/drm/amd/amdkfd/kfd_process.c           |  36 +-
 .../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |  62 ++--
 8 files changed, 348 insertions(+), 207 deletions(-)
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx