Skip to content

share semaphore across process

Chunming Zhou amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4amdgpu: use drm_amdgpu_fence instead of amdgpu_cs_fence in semaphore structureamdgpu/amdgpu_cs.c amdgpu/amdgpu_internal.h+11 -110 replies
2/4amdgpu: add export/import semaphore apisamdgpu/amdgpu.h amdgpu/amdgpu_cs.c amdgpu/amdgpu_internal.h+103 -24 replies
3/4amdgpu: add mutex for across process reasonamdgpu/amdgpu_cs.c amdgpu/amdgpu_internal.h+31 -70 replies
4/4tests/amdgpu: add semaphore across process testtests/amdgpu/basic_tests.c+131 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] share semaphore across process

after ctx id is valid in global side, we share semaphore across process based on BO sharing mechanism. That means we map semaphore object to a bo, then sharing bo with other process, the other process can get the semaphore object from the sharing bo.

Chunming Zhou (4):
amdgpu: use drm_amdgpu_fence instead of amdgpu_cs_fence in semaphore
structure
amdgpu: add export/import semaphore apis
amdgpu: add mutex for across process reason
tests/amdgpu: add semaphore across process test

 amdgpu/amdgpu.h            |  40 ++++++++++++++
 amdgpu/amdgpu_cs.c         | 113 ++++++++++++++++++++++++++++++++------
 amdgpu/amdgpu_internal.h   |   6 ++-
 tests/amdgpu/basic_tests.c | 131 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 273 insertions(+), 17 deletions(-)
Signature · 6 lines
1.9.1

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