All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] share semaphore across process
@ 2016-08-18  7:55 Chunming Zhou
       [not found] ` <1471506959-905-1-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Chunming Zhou @ 2016-08-18  7:55 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: Chunming Zhou, David.Mao-5C7GfCeVMHo

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(-)

-- 
1.9.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-08-22 12:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-18  7:55 [PATCH 0/4] share semaphore across process Chunming Zhou
     [not found] ` <1471506959-905-1-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org>
2016-08-18  7:55   ` [PATCH 1/4] amdgpu: use drm_amdgpu_fence instead of amdgpu_cs_fence in semaphore structure Chunming Zhou
2016-08-18  7:55   ` [PATCH 2/4] amdgpu: add export/import semaphore apis Chunming Zhou
     [not found]     ` <1471506959-905-3-git-send-email-David1.Zhou-5C7GfCeVMHo@public.gmane.org>
2016-08-21  6:23       ` Edward O'Callaghan
     [not found]         ` <cf458d97-d40a-d363-b5c4-2ae45dde9179-dczkZgxz+BNUPWh3PAxdjQ@public.gmane.org>
2016-08-22  2:42           ` zhoucm1
     [not found]             ` <57BA6689.2010700-5C7GfCeVMHo@public.gmane.org>
2016-08-22 12:41               ` Edward O'Callaghan
     [not found]                 ` <414bf811-0e72-6f79-350f-8995a2b5167c-dczkZgxz+BNUPWh3PAxdjQ@public.gmane.org>
2016-08-22 12:44                   ` Edward O'Callaghan
2016-08-18  7:55   ` [PATCH 3/4] amdgpu: add mutex for across process reason Chunming Zhou
2016-08-18  7:55   ` [PATCH 4/4] tests/amdgpu: add semaphore across process test Chunming Zhou

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.