All of lore.kernel.org
 help / color / mirror / Atom feed
* drm syncobj - can we get some r-b/a-bs?
@ 2017-05-12  0:34 Dave Airlie
       [not found] ` <20170512003457.24936-1-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 25+ messages in thread
From: Dave Airlie @ 2017-05-12  0:34 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Okay I'm not convinced this is going to get any better out of tree,
I've polished what I can, and fixed up the last few comments from people,

I'd like to rebase on drm-misc probably at some point and send a pull
request for it.

This mostly just addresses things around naming that Chris pointed out.

Dave.

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

^ permalink raw reply	[flat|nested] 25+ messages in thread
* [rfc] drm sync objects (search for spock)
@ 2017-04-26  3:28 Dave Airlie
  2017-04-26  3:28 ` [PATCH 5/5] amdgpu: use drm sync objects for shared semaphores (v4) Dave Airlie
  0 siblings, 1 reply; 25+ messages in thread
From: Dave Airlie @ 2017-04-26  3:28 UTC (permalink / raw)
  To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Okay I've gone around the sun with these a few times, and
pretty much implemented what I said last week.

This is pretty much a complete revamp.

1. sync objects are self contained drm objects, they
have a file reference so can be passed between processes.

2. Added a sync object wait interface modelled on the vulkan
fence waiting API.

3. sync_file interaction is explicitly different than
opaque fd passing, you import a sync file state into an
existing syncobj, or create a new sync_file from an
existing syncobj. This means no touching the sync file code
at all. \o/

I haven't used rcu anywhere here, I've used xchg to swap
fence pointers in the hope that's safe. If this does need
rcu'ing I suggest we do it in a follow on patch to minimise
the review pain.

Dave.

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

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

end of thread, other threads:[~2017-08-04  1:03 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-12  0:34 drm syncobj - can we get some r-b/a-bs? Dave Airlie
     [not found] ` <20170512003457.24936-1-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-12  0:34   ` [PATCH 1/5] drm: introduce sync objects (v2) Dave Airlie
     [not found]     ` <20170512003457.24936-2-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-12  4:51       ` Andres Rodriguez
2017-05-12  8:12       ` Daniel Vetter
2017-05-12 13:33       ` Sean Paul
2017-05-12  0:34   ` [PATCH 2/5] drm/syncobj: add sync obj wait interface. (v2) Dave Airlie
2017-05-12  8:13     ` Daniel Vetter
     [not found]     ` <20170512003457.24936-3-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-12  8:49       ` Chris Wilson
     [not found]         ` <20170512084951.GD12185-aII6DKEyn0pWYbfKqPwjAkR8Iwp7RQ6xAL8bYrjMMd8@public.gmane.org>
2017-05-12  8:57           ` Christian König
2017-05-12 13:35       ` Sean Paul
2017-05-12  0:34   ` [PATCH 3/5] drm/syncobj: add sync_file interaction Dave Airlie
     [not found]     ` <20170512003457.24936-4-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-12  8:01       ` Daniel Vetter
2017-05-12 13:38       ` Sean Paul
2017-08-03 16:25       ` Chris Wilson
2017-08-03 23:01         ` Dave Airlie
     [not found]           ` <CAPM=9tw8kFhHWp1tVhmBRqBqX4WnaSvQtLd0OD_U=CNpDROsBQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-03 23:22             ` Chris Wilson
     [not found]               ` <150180256673.14563.14290309660718108784-M6iVdVfohj6unts5RBS2dVaTQe2KTcn/@public.gmane.org>
2017-08-04  1:03                 ` Dave Airlie
2017-05-12  0:34   ` [PATCH 4/5] amdgpu/cs: split out fence dependency checking Dave Airlie
2017-05-12  0:34   ` [PATCH 5/5] amdgpu: use drm sync objects for shared semaphores (v4) Dave Airlie
     [not found]     ` <20170512003457.24936-6-airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-12  3:34       ` zhoucm1
     [not found]         ` <59152D36.8000608-5C7GfCeVMHo@public.gmane.org>
2017-05-12  4:17           ` Dave Airlie
     [not found]             ` <CAPM=9tz5A9toCZAk10nOWub-qfiV6+aPBy9FDZANvAywfp8Vhw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-12  5:45               ` zhoucm1
2017-05-12  4:55       ` Andres Rodriguez
2017-05-12  8:39     ` Christian König
  -- strict thread matches above, loose matches on Subject: below --
2017-04-26  3:28 [rfc] drm sync objects (search for spock) Dave Airlie
2017-04-26  3:28 ` [PATCH 5/5] amdgpu: use drm sync objects for shared semaphores (v4) Dave Airlie

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.