Skip to contentSkip to conversation

The series add support for UMQ submission

PATCH Superseded Sunil Khatri 1 participant 1 message Mar 28, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover The series add support for UMQ submission

Here we are enabling UMQ submission framework along with some of the test cases which validated gfx and compute with UMQ Submission

Sunil Khatri (19):
drm-uapi/amdgpu: sync with drm-next
drm-uapi/amdgpu: sync with drm-next
lib/amdgpu: Add user mode queue support in ring context lib/amdgpu: Add support of amd user queues lib/amdgpu: add func amdgpu_bo_alloc_and_map_sync tests/amdgpu: Add user queue support for gfx and compute tests/amdgpu: Add UMQ submission tests for gfx and compute tests/amdgpu: Add amdgpu_sync_dependency_test with UMQ tests/amdgpu: use memory API's from amd_memory.h lib/amdgpu: add macro for adding cmds in user queue lib/amdgpu: use macro to add cmds in the user ring tests/amdgpu: Add amdgpu_cp_nops tests for UMQ drm-uapi/amdgpu: sync with drm-next
lib/amdgpu: use right API to get the correct size lib/amdgpu: use a memory fence to serialize write tests/amdgpu: disable check for IP presense with no kernel queue lib/amdgpu: make the local functions as static lib/amdgpu: enable UMQ function under macro tests/amdgpu: Disable the UMQ tests under a macro

 include/drm-uapi/amdgpu_drm.h       | 261 ++++++++++++++++
 lib/amdgpu/amd_PM4.h                |   3 +
 lib/amdgpu/amd_command_submission.c | 313 +++++++++++++------
 lib/amdgpu/amd_command_submission.h |   8 +-
 lib/amdgpu/amd_compute.c            | 100 ++++--
 lib/amdgpu/amd_compute.h            |   2 +-
 lib/amdgpu/amd_ip_blocks.h          |  35 +++
 lib/amdgpu/amd_memory.c             |  19 ++
 lib/amdgpu/amd_memory.h             |   8 +
 lib/amdgpu/amd_user_queue.c         | 465 ++++++++++++++++++++++++++++
 lib/amdgpu/amd_user_queue.h         |  55 ++++
 lib/meson.build                     |   3 +-
 tests/amdgpu/amd_basic.c            | 174 ++++++++---
 tests/amdgpu/amd_cs_nop.c           | 149 ++++-----
 tests/amdgpu/amd_security.c         |   4 +-
 15 files changed, 1335 insertions(+), 264 deletions(-)
 create mode 100644 lib/amdgpu/amd_user_queue.c
 create mode 100644 lib/amdgpu/amd_user_queue.h
Signature · 1 line
2.43.0