From: zhoucm1 <david1.zhou-5C7GfCeVMHo@public.gmane.org>
To: Dave Airlie <airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"Mao, David" <David.Mao-5C7GfCeVMHo@public.gmane.org>,
"He, Jacob" <jacob.he-5C7GfCeVMHo@public.gmane.org>
Cc: amd-gfx mailing list
<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
dri-devel
<dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: [PATCH 5/5] amdgpu: use drm sync objects for shared semaphores (v4)
Date: Fri, 12 May 2017 13:45:19 +0800 [thread overview]
Message-ID: <59154BEF.4030806@amd.com> (raw)
In-Reply-To: <CAPM=9tz5A9toCZAk10nOWub-qfiV6+aPBy9FDZANvAywfp8Vhw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 2017年05月12日 12:17, Dave Airlie wrote:
> On 12 May 2017 at 13:34, zhoucm1 <david1.zhou@amd.com> wrote:
>> 1. generally, functions in amdgpu_cs.c should be with amdgpu_cs_ as prefix.
> Okay I've fixed this and previous patch up locally.
>
>> 2. If I'm not wrong to your proposal, SYNCOBJ_IN is to semaphore wait while
>> SYNCOBJ_OUT is to semaphore signal. SYNCOBJ_IN/OUT both are based on command
>> submission ioctl, that means user space must generate CS when using
>> semaphore? but with my understand, they should not be dependent with that,
>> they can be used independently, right?
> Yes in is WAIT and out is signal, however OUT could also be used to
> write a syncobj as a fence if needed, hence why I moved away from
> semaphore naming.
>
> The only place I can see them being used independently is a possible
> signal operation after present, due not being able to pass the
> semaphores over dri3 yet. I think I've said this before and Christian
> has confirmed that doing anything with semaphores not via the command
> submission ioctl is going to be messy as they have to queue jobs in
> the scheduler, so if we need to tune the command submission ioctl to
> take empty CS or add a flag to just do semaphore operations we should
> do so in the future when we have a clear use case for it (and we see
> the need to optimise for it).
I see.
+David Mao and Jacob to aware, they are expert of Vulkan, if they have
no concern, It's ok.
Regards,
David Zhou
>
> Dave.
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2017-05-12 5:45 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=59154BEF.4030806@amd.com \
--to=david1.zhou-5c7gfcevmho@public.gmane.org \
--cc=David.Mao-5C7GfCeVMHo@public.gmane.org \
--cc=airlied-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=jacob.he-5C7GfCeVMHo@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.