Skip to content

Commit c4f3a34

Browse files
geertudanvet
authored andcommitted
dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
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 <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent efcefc7 commit c4f3a34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)