<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/dma-buf/dma-buf.c, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-05-08T15:20:21Z</updated>
<entry>
<title>dma-buf: Adjust a null pointer check in dma_buf_attach()</title>
<updated>2017-05-08T15:20:21Z</updated>
<author>
<name>Markus Elfring</name>
</author>
<published>2017-05-08T08:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34d84ec4881d1343bec8c0848fd946e3073e6612'/>
<id>urn:sha1:34d84ec4881d1343bec8c0848fd946e3073e6612</id>
<content type='text'>
The script "checkpatch.pl" pointed information out like the following.

Comparison to NULL could be written "!attach"

Thus adjust this expression.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Reviewed-by: Gustavo Padovan &lt;gustavo.padovan@collabora.com&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
</content>
</entry>
<entry>
<title>dma-buf: Improve a size determination in dma_buf_attach()</title>
<updated>2017-05-08T15:20:21Z</updated>
<author>
<name>Markus Elfring</name>
</author>
<published>2017-05-08T08:50:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db7942b6292306abd42d3340fdb57d9d80fcffd9'/>
<id>urn:sha1:db7942b6292306abd42d3340fdb57d9d80fcffd9</id>
<content type='text'>
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Reviewed-by: Gustavo Padovan &lt;gustavo.padovan@collabora.com&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
</content>
</entry>
<entry>
<title>dma-buf: Combine two function calls into one in dma_buf_debug_show()</title>
<updated>2017-05-08T15:20:21Z</updated>
<author>
<name>Markus Elfring</name>
</author>
<published>2017-05-08T08:32:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9eddb41dbe98b4854e64a69b686ace734c2c7aa0'/>
<id>urn:sha1:9eddb41dbe98b4854e64a69b686ace734c2c7aa0</id>
<content type='text'>
A bit of data was put into a sequence by two separate function calls.
Print the same data by a single function call instead.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Reviewed-by: Gustavo Padovan &lt;gustavo.padovan@collabora.com&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
</content>
</entry>
<entry>
<title>dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro</title>
<updated>2017-04-20T08:17:46Z</updated>
<author>
<name>Logan Gunthorpe</name>
</author>
<published>2017-04-19T19:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f9b67f0014cba18f1aabb6fa9272335a043eb6fd'/>
<id>urn:sha1:f9b67f0014cba18f1aabb6fa9272335a043eb6fd</id>
<content type='text'>
Seeing the kunmap_atomic dma_buf_ops share the same name with a macro
in highmem.h, the former can be aliased if any dma-buf user includes
that header.

I'm personally trying to include highmem.h inside scatterlist.h and this
breaks the dma-buf code proper.

Christoph Hellwig suggested [1] renaming it and pushing this patch ASAP.

To maintain consistency I've renamed all four of kmap* and kunmap* to be
map* and unmap*. (Even though only kmap_atomic presently conflicts.)

[1] https://www.spinics.net/lists/target-devel/msg15070.html

Signed-off-by: Logan Gunthorpe &lt;logang@deltatee.com&gt;
Reviewed-by: Sinclair Yeh &lt;syeh@vmware.com&gt;
Acked-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Acked-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1492630570-879-1-git-send-email-logang@deltatee.com
</content>
</entry>
<entry>
<title>dma-buf: align debugfs output</title>
<updated>2017-04-03T16:27:20Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2017-03-31T10:03:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=da6c8f5e2a63de7148dfffa8bffab1be02f378c6'/>
<id>urn:sha1:da6c8f5e2a63de7148dfffa8bffab1be02f378c6</id>
<content type='text'>
Align the heading with the values output from debugfs.

Signed-off-by: Russell King &lt;rmk+kernel@armlinux.org.uk&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/E1cttOq-0006GX-U7@rmk-PC.armlinux.org.uk
</content>
</entry>
<entry>
<title>dma-buf: fence debugging</title>
<updated>2017-03-31T15:52:22Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2017-03-31T10:00:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5eb2c72c8acc3f84c85f9d504b87f25f78ef0eb0'/>
<id>urn:sha1:5eb2c72c8acc3f84c85f9d504b87f25f78ef0eb0</id>
<content type='text'>
Add debugfs output to report shared and exclusive fences on a dma_buf
object.  This produces output such as:

Dma-buf Objects:
size    flags   mode    count   exp_name
08294400        00000000        00000005        00000005        drm
        Exclusive fence: etnaviv 134000.gpu signalled
        Attached Devices:
        gpu-subsystem
Total 1 devices attached

Total 1 objects, 8294400 bytes

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Gustavo Padovan &lt;gustavo.padovan@collabora.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/E1cttMI-00068z-3X@rmk-PC.armlinux.org.uk
</content>
</entry>
<entry>
<title>dma-buf: add support for compat ioctl</title>
<updated>2017-02-27T11:53:47Z</updated>
<author>
<name>Marek Szyprowski</name>
</author>
<published>2017-02-21T13:21:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=888022c0473d079bff9b47fb50434b1f20f8f37f'/>
<id>urn:sha1:888022c0473d079bff9b47fb50434b1f20f8f37f</id>
<content type='text'>
Add compat ioctl support to dma-buf. This lets one to use DMA_BUF_IOCTL_SYNC
ioctl from 32bit application on 64bit kernel. Data structures for both 32
and 64bit modes are same, so there is no need for additional translation
layer.

Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Acked-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1487683261-2655-1-git-send-email-m.szyprowski@samsung.com
</content>
</entry>
<entry>
<title>dma-buf: Use recommended structure member reference</title>
<updated>2016-12-30T12:34:16Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2016-12-29T20:48:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9b4d7b56f293ed4de9ff7d16759d33492f83180'/>
<id>urn:sha1:e9b4d7b56f293ed4de9ff7d16759d33492f83180</id>
<content type='text'>
I just learned that &amp;struct_name.member_name works and looks pretty
even. It doesn't (yet) link to the member directly though, which would
be really good for big structures or vfunc tables (where the
per-member kerneldoc tends to be long).

Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Jani Nikula &lt;jani.nikula@linux.intel.com&gt;
Cc: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Reviewed-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-5-git-send-email-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>dma-buf: use preferred struct reference in kernel-doc</title>
<updated>2016-12-30T11:54:04Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2016-12-29T20:48:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f641d3b536e559dd2bae9245ec2e7d86cdf623fd'/>
<id>urn:sha1:f641d3b536e559dd2bae9245ec2e7d86cdf623fd</id>
<content type='text'>
sed -e 's/\( \* .*\)struct &amp;\([_a-z]*\)/\1\&amp;struct \2/' -i

Originally I wasnt a friend of this style because I thought a
line-break between the "&amp;struct" and "foo" part would break it. But a
quick test shows that " * &amp;struct \n * foo\n" works pefectly well with
current kernel-doc. So time to mass-apply these changes!

Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Cc: Jani Nikula &lt;jani.nikula@linux.intel.com&gt;
Cc: Chris Wilson &lt;chris@chris-wilson.co.uk&gt;
Reviewed-by: David Herrmann &lt;dh.herrmann@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/1483044517-5770-4-git-send-email-daniel.vetter@ffwll.ch
</content>
</entry>
<entry>
<title>dma-buf: Final bits of doc polish</title>
<updated>2016-12-13T12:24:28Z</updated>
<author>
<name>Daniel Vetter</name>
</author>
<published>2016-12-09T21:50:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7e21c72b178e963f3c990cb839d86f568999916'/>
<id>urn:sha1:e7e21c72b178e963f3c990cb839d86f568999916</id>
<content type='text'>
- Put all the remaing bits of the old doc into suitable places in the
  new sphinx world.
- Also document the poll support, we forgot to do that.
- Delete dma-buf-sharing.txt.

v2: Don't forget to update MAINTAINERS.

Cc: linux-doc@vger.kernel.org
Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;
Cc: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@intel.com&gt;
Signed-off-by: Sumit Semwal &lt;sumit.semwal@linaro.org&gt;
Link: http://patchwork.freedesktop.org/patch/msgid/20161209215055.3492-1-daniel.vetter@ffwll.ch
</content>
</entry>
</feed>
