From: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
To: Dave Jones <davej@codemonkey.org.uk>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: Re: dma-buf/sync_file: de-stage sync_file
Date: Fri, 27 May 2016 18:06:19 -0300 [thread overview]
Message-ID: <20160527210619.GE15155@joana> (raw)
In-Reply-To: <20160526024209.GA2840@codemonkey.org.uk>
2016-05-25 Dave Jones <davej@codemonkey.org.uk>:
> On Sat, May 21, 2016 at 05:31:53AM +0000, Linux Kernel wrote:
>
> > dma-buf/sync_file: de-stage sync_file
> >
> > sync_file is useful to connect one or more fences to the file. The file is
> > used by userspace to track fences between drivers that share DMA bufs.
> >
> > Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
> > Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>
> ...
>
> > +config SYNC_FILE
> > + bool "sync_file support for fences"
> > + default n
> > + select ANON_INODES
> > + select DMA_SHARED_BUFFER
> > + ---help---
> > + This option enables the fence framework synchronization to export
> > + sync_files to userspace that can represent one or more fences.
>
> For such a generic sounding CONFIG_ item, this is one of the more obtuse descriptions
> in a kconfig we've had in a while, and the commit message doesn't give any more
> clues as to why anyone might want to enable this.
>
> I'm guessing this is some graphics thing given that Daniel reviewed it.
> From skimming the other commits, it seems to be some Android thing ?
> Are there depends missing perhaps that might make this more obvious ?
You are right, only a few people understand this in the way I wrote. I
definitelly reword this. It is android framework to help userspace with
explict synchronization. DRM will require this, but the patches for that
did not land yet.
Gustavo
prev parent reply other threads:[~2016-05-27 21:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20160521053153.14B99661B7C@gitolite.kernel.org>
2016-05-26 2:42 ` dma-buf/sync_file: de-stage sync_file Dave Jones
2016-05-27 21:06 ` Gustavo Padovan [this message]
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=20160527210619.GE15155@joana \
--to=gustavo.padovan@collabora.co.uk \
--cc=daniel.vetter@ffwll.ch \
--cc=davej@codemonkey.org.uk \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox