summaryrefslogtreecommitdiffstats
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-28 15:24:20 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-28 17:17:29 +0100
commit4021053ed52d57a2a1a3ec8355408fb290a23d9f (patch)
treec1e471c8e67e18150152099563364efe9a52c60e /drivers/media/Kconfig
parentfs: compat_ioctl: add new DVB demux ioctls (diff)
downloadlinux-4021053ed52d57a2a1a3ec8355408fb290a23d9f.tar.xz
linux-4021053ed52d57a2a1a3ec8355408fb290a23d9f.zip
media: dvb-core: make DVB mmap API optional
This API is still experimental. Make it optional, allowing to compile the code without it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index edfe99b22d56..3f69b948d102 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -144,6 +144,18 @@ config DVB_CORE
default y
select CRC32
+config DVB_MMAP
+ bool "Enable DVB memory-mapped API (EXPERIMENTAL)"
+ depends on DVB_CORE
+ default n
+ help
+ This option enables DVB experimental memory-mapped API, with
+ reduces the number of context switches to read DVB buffers, as
+ the buffers can use mmap() syscalls.
+
+ Support for it is experimental. Use with care. If unsure,
+ say N.
+
config DVB_NET
bool "DVB Network Support"
default (NET && INET)