diff options
author | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2022-10-17 19:22:27 +0200 |
---|---|---|
committer | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2022-10-18 00:21:53 +0200 |
commit | ae2e7f28a170c01fdea420f1284e2f163198c9aa (patch) | |
tree | 89f04ff23a789591bda2826173f5004e700b48c2 /Documentation | |
parent | dma-buf: Move dma_buf_mmap() to dynamic locking specification (diff) | |
download | linux-ae2e7f28a170c01fdea420f1284e2f163198c9aa.tar.xz linux-ae2e7f28a170c01fdea420f1284e2f163198c9aa.zip |
dma-buf: Document dynamic locking convention
Add documentation for the dynamic locking convention. The documentation
tells dma-buf API users when they should take the reservation lock and
when not.
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221017172229.42269-20-dmitry.osipenko@collabora.com
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/driver-api/dma-buf.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/driver-api/dma-buf.rst b/Documentation/driver-api/dma-buf.rst index 36a76cbe9095..622b8156d212 100644 --- a/Documentation/driver-api/dma-buf.rst +++ b/Documentation/driver-api/dma-buf.rst @@ -119,6 +119,12 @@ DMA Buffer ioctls .. kernel-doc:: include/uapi/linux/dma-buf.h +DMA-BUF locking convention +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. kernel-doc:: drivers/dma-buf/dma-buf.c + :doc: locking convention + Kernel Functions and Structures Reference ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |