summaryrefslogtreecommitdiffstats
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-28 09:24:20 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-28 11:17:29 -0500
commit4021053ed52d57a2a1a3ec8355408fb290a23d9f (patch)
treec1e471c8e67e18150152099563364efe9a52c60e /drivers/media/Kconfig
parent651d66660589b1a1773667f35ffb6a850cd2e834 (diff)
downloadtalos-obmc-linux-4021053ed52d57a2a1a3ec8355408fb290a23d9f.tar.gz
talos-obmc-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)
OpenPOWER on IntegriCloud