Skip to content

RFC RFC: Usermode queue for AMDGPU driver

Shashank Sharma amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 56 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/amdgpu: UAPI for user queue managementinclude/uapi/drm/amdgpu_drm.h+52 -013 replies
2/7drm/amdgpu: Add usermode queue for gfx workdrivers/gpu/drm/amd/amdgpu/Makefile drivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h +2 more+246 -017 replies
3/7drm/amdgpu: Create MQD for userspace queuedrivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c drivers/gpu/drm/amd/include/amdgpu_usermode_queue_mqd.h+682 -012 replies
4/7drm/amdgpu: Allocate doorbell slot for user queuedrivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c+28 -02 replies
5/7drm/amdgpu: Create context for usermode queuedrivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c drivers/gpu/drm/amd/include/amdgpu_usermode_queue.h+65 -03 replies
6/7drm/amdgpu: Map userqueue into HWdrivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c+71 -02 replies
7/7drm/amdgpu: Secure semaphore for usermode queuedrivers/gpu/drm/amd/amdgpu/Makefile drivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c +3 more+272 -32 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/7] RFC: Usermode queue for AMDGPU driver

This is a RFC series to implement usermode graphics queues for AMDGPU driver (Navi 3X and above). The idea of usermode graphics queue is to allow direct workload submission from a userspace graphics process who has amdgpu graphics context.

Once we have some initial feedback on the design, we will publish a follow up V1 series with a libdrm consumer test.

Cc Alex Deucher <[email protected]>
Cc Christian Koenig <[email protected]>

Alex Deucher (1):
drm/amdgpu: UAPI for user queue management

Arunpravin Paneer Selvam (1):
drm/amdgpu: Secure semaphore for usermode queue

Arvind Yadav (1):
drm/amdgpu: Create MQD for userspace queue

Shashank Sharma (4):
drm/amdgpu: Add usermode queue for gfx work drm/amdgpu: Allocate doorbell slot for user queue drm/amdgpu: Create context for usermode queue drm/amdgpu: Map userqueue into HW

 drivers/gpu/drm/amd/amdgpu/Makefile           |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |  14 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h       |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | 486 ++++++++++++++++
 .../amd/amdgpu/amdgpu_userqueue_secure_sem.c  | 245 ++++++++
 .../drm/amd/include/amdgpu_usermode_queue.h   |  68 +++
 .../amd/include/amdgpu_usermode_queue_mqd.h   | 544 ++++++++++++++++++
 include/uapi/drm/amdgpu_drm.h                 |  52 ++
 8 files changed, 1413 insertions(+)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue_secure_sem.c
 create mode 100644 drivers/gpu/drm/amd/include/amdgpu_usermode_queue.h
 create mode 100644 drivers/gpu/drm/amd/include/amdgpu_usermode_queue_mqd.h
Signature · 1 line
2.34.1