mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER
[ Upstream commitc4f3a3460a] 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:bb42df4662("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>
This commit is contained in:
parent
b9a1526d51
commit
ca907291e1
|
|
@ -42,6 +42,7 @@ config UDMABUF
|
||||||
config DMABUF_MOVE_NOTIFY
|
config DMABUF_MOVE_NOTIFY
|
||||||
bool "Move notify between drivers (EXPERIMENTAL)"
|
bool "Move notify between drivers (EXPERIMENTAL)"
|
||||||
default n
|
default n
|
||||||
|
depends on DMA_SHARED_BUFFER
|
||||||
help
|
help
|
||||||
Don't pin buffers if the dynamic DMA-buf interface is available on
|
Don't pin buffers if the dynamic DMA-buf interface is available on
|
||||||
both the exporter as well as the importer. This fixes a security
|
both the exporter as well as the importer. This fixes a security
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user