aboutsummaryrefslogtreecommitdiff
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorGravatar Daniel Stone <daniels@collabora.com> 2023-08-03 16:47:29 +0100
committerGravatar Simon Ser <contact@emersion.fr> 2023-08-21 18:20:05 +0200
commit504245a5ab6b6e1bfe0280baa4885c551e082099 (patch)
treec68649063bf017f7f83d473d48236714fe091736 /Documentation/gpu
parentdoc: dma-buf: Rewrite intro section a little (diff)
downloadlinux-504245a5ab6b6e1bfe0280baa4885c551e082099.tar.gz
linux-504245a5ab6b6e1bfe0280baa4885c551e082099.tar.bz2
linux-504245a5ab6b6e1bfe0280baa4885c551e082099.zip
doc: uapi: Add document describing dma-buf semantics
Since there's a lot of confusion around this, document both the rules and the best practices around negotiating, allocating, importing, and using buffers when crossing context/process/device/subsystem boundaries. This ties up all of dma-buf, formats and modifiers, and their usage. Signed-off-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Simon Ser <contact@emersion.fr> Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20230803154908.105124-4-daniels@collabora.com
Diffstat (limited to 'Documentation/gpu')
-rw-r--r--Documentation/gpu/drm-uapi.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/gpu/drm-uapi.rst b/Documentation/gpu/drm-uapi.rst
index 65fb3036a580..eef5fd19bc92 100644
--- a/Documentation/gpu/drm-uapi.rst
+++ b/Documentation/gpu/drm-uapi.rst
@@ -486,3 +486,10 @@ and the CRTC index is its position in this array.
.. kernel-doc:: include/uapi/drm/drm_mode.h
:internal:
+
+
+dma-buf interoperability
+========================
+
+Please see Documentation/userspace-api/dma-buf-alloc-exchange.rst for
+information on how dma-buf is integrated and exposed within DRM.