kernel: add support for videobuf-dma
This adds support for videobuf2-dma driver. This module contains following flavors: - Contiguous - Scatter/Gather Drivers using this can enable 1 of the, or both, depending on their needs. Due to this, a FILES catch-all is required for the videobuf-dma objects as depending on requirements, only 1 of them could get generated. Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
This commit is contained in:
parent
0295a29f1d
commit
f1a9240f0b
@ -1067,3 +1067,21 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,video-mem2mem))
|
||||
|
||||
define KernelPackage/video-dma
|
||||
SUBMENU:=$(VIDEO_MENU)
|
||||
TITLE:=Video DMA support
|
||||
HIDDEN:=1
|
||||
DEPENDS:=+kmod-video-videobuf2
|
||||
KCONFIG:= \
|
||||
CONFIG_VIDEOBUF2_DMA_CONTIG \
|
||||
CONFIG_VIDEOBUF2_DMA_SG
|
||||
FILES:= $(LINUX_DIR)/drivers/media/common/videobuf2/videobuf2-dma-*.ko
|
||||
AUTOLOAD:=$(call AutoLoad,66,videobuf2-dma-contig videobuf2-dma-sg)
|
||||
$(call AddDepends/video)
|
||||
endef
|
||||
|
||||
define KernelPackage/video-dma/description
|
||||
Video DMA support
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,video-dma))
|
||||
|
Loading…
x
Reference in New Issue
Block a user