dma-buf: Move dma_buf_map_attachment() to dynamic locking specification
authorDmitry Osipenko <dmitry.osipenko@collabora.com>
Mon, 17 Oct 2022 17:22:25 +0000 (20:22 +0300)
committerDmitry Osipenko <dmitry.osipenko@collabora.com>
Mon, 17 Oct 2022 22:21:51 +0000 (01:21 +0300)
commit47e982d5195d76c621d21d2f1911159175d0839e
treebefb288894bf8ce9e567cec9612b4a6a68bcf241
parent809d9c72c2f83ef7225379908e125eb4b662232c
dma-buf: Move dma_buf_map_attachment() to dynamic locking specification

Move dma-buf attachment mapping functions to the dynamic locking
specification by asserting that the reservation lock is held.

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-18-dmitry.osipenko@collabora.com
drivers/dma-buf/dma-buf.c