dma-buf: doc polish for pin/unpin
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Dec 2020 15:58:43 +0000 (16:58 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 16 Dec 2020 10:28:34 +0000 (11:28 +0100)
commitc545781e1c55ab680dcc49c37212d5327b9d6812
tree14152db8d82354f45b4ff3e89270bc4b4010734e
parent8ccf0a29af75326fb8e5ed6e51ff61e74b7ed2e4
dma-buf: doc polish for pin/unpin

Motivated by a discussion with Christian and Thomas: Try to untangle a
bit what's relevant for importers and what's relevant for exporters.

Also add an assert that really only dynamic importers use the api
function, anything else doesn't make sense.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
Link: https://patchwork.freedesktop.org/patch/msgid/20201211155843.3348718-4-daniel.vetter@ffwll.ch
drivers/dma-buf/dma-buf.c
include/linux/dma-buf.h