Skip to content

Commit ca90729

Browse files
geertugregkh
authored andcommitted
dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
[ Upstream commit c4f3a34 ] Move notify between drivers is an option of DMA-BUF. Enabling DMABUF_MOVE_NOTIFY without DMA_SHARED_BUFFER does not have any impact, as drivers/dma-buf/ is not entered during the build when DMA_SHARED_BUFFER is disabled. Fixes: bb42df4 ("dma-buf: add dynamic DMA-buf handling v15") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210902124913.2698760-2-geert@linux-m68k.org Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent b9a1526 commit ca90729

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/dma-buf/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ config UDMABUF
4242
config DMABUF_MOVE_NOTIFY
4343
bool "Move notify between drivers (EXPERIMENTAL)"
4444
default n
45+
depends on DMA_SHARED_BUFFER
4546
help
4647
Don't pin buffers if the dynamic DMA-buf interface is available on
4748
both the exporter as well as the importer. This fixes a security

0 commit comments

Comments
 (0)