dma-buf: Update cpu access documentation
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 9 Dec 2016 18:53:08 +0000 (19:53 +0100)
committerSumit Semwal <sumit.semwal@linaro.org>
Tue, 13 Dec 2016 12:23:32 +0000 (17:53 +0530)
commit0959a1683d78270bab6381d498707fb8655ae11c
treefdadda6d04dc830b974624e5f890462a81b52365
parent2904a8c1311f02896635fd35744262413a0b2726
dma-buf: Update cpu access documentation

- Again move the information relevant for driver writers next to the
  callbacks.
- Put the overview and userspace interface documentation into a DOC:
  section within the code.
- Remove the text that mmap needs to be coherent - since the
  DMA_BUF_IOCTL_SYNC landed that's no longer the case. But keep the text
  that for pte zapping exporters need to adjust the address space.
- Add a FIXME that kmap and the new begin/end stuff used by the SYNC
  ioctl don't really mix correctly. That's something I just realized
  while doing this doc rework.
- Augment function and structure docs like usual.

Cc: linux-doc@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
  [sumits: fix cosmetic issues]
Link: http://patchwork.freedesktop.org/patch/msgid/20161209185309.1682-5-daniel.vetter@ffwll.ch
Documentation/dma-buf-sharing.txt
Documentation/driver-api/dma-buf.rst
drivers/dma-buf/dma-buf.c
include/linux/dma-buf.h