mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
kernel: add support for tw686x frame grabbers
Adds support for Intersil/Techwell tw686x frame grabbers. By default, this module uses MEMCPY to transfer data. Let's switch to "Contiguous DMA" which is the fastest performing method available. [ 10.074349] tw6869: PCI 0000:07:00.0, IRQ 33, MMIO 0x1200000 (contig mode) [ 10.081381] tw686x 0000:07:00.0: enabling device (0140 -> 0142) Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
This commit is contained in:
parent
a9a872b9d4
commit
bc91784f26
@ -439,6 +439,10 @@ $(AddDepends/video)
|
||||
CONFIG_MEDIA_CAMERA_SUPPORT=y
|
||||
endef
|
||||
|
||||
define AddDepends/framegrabber
|
||||
$(AddDepends/video)
|
||||
KCONFIG+=CONFIG_MEDIA_PCI_SUPPORT=y
|
||||
endef
|
||||
|
||||
define KernelPackage/video-videobuf2
|
||||
TITLE:=videobuf2 lib
|
||||
@ -1122,3 +1126,19 @@ define KernelPackage/video-pxp/description
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,video-pxp))
|
||||
|
||||
define KernelPackage/video-tw686x
|
||||
TITLE:=TW686x support
|
||||
DEPENDS:=@PCIE_SUPPORT +kmod-video-dma +kmod-sound-core
|
||||
KCONFIG:= CONFIG_VIDEO_TW686X
|
||||
FILES:= $(LINUX_DIR)/drivers/media/pci/tw686x/tw686x.ko
|
||||
AUTOLOAD:=$(call AutoProbe,tw686x)
|
||||
MODPARAMS.tw686x:=dma_mode=contig
|
||||
$(call AddDepends/framegrabber)
|
||||
endef
|
||||
|
||||
define KernelPackage/video-tw686x/description
|
||||
The Intersil/Techwell TW686x kernel module
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,video-tw686x))
|
||||
|
Loading…
Reference in New Issue
Block a user