mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-22 07:16:56 +00:00
kernel: add support for mem2mem devices
This allows addition of devices which use these kernel modules. This also adds a package for handling dma within video2buf. These are only build when selected by a caller Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
This commit is contained in:
parent
0a0b1fd159
commit
0295a29f1d
@ -10,6 +10,7 @@ VIDEO_MENU:=Video Support
|
|||||||
|
|
||||||
V4L2_DIR=v4l2-core
|
V4L2_DIR=v4l2-core
|
||||||
V4L2_USB_DIR=usb
|
V4L2_USB_DIR=usb
|
||||||
|
V4L2_MEM2MEM_DIR=platform
|
||||||
|
|
||||||
#
|
#
|
||||||
# Video Display
|
# Video Display
|
||||||
@ -1044,3 +1045,25 @@ define KernelPackage/video-gspca-konica/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,video-gspca-konica))
|
$(eval $(call KernelPackage,video-gspca-konica))
|
||||||
|
|
||||||
|
#
|
||||||
|
# Video Processing
|
||||||
|
#
|
||||||
|
|
||||||
|
define KernelPackage/video-mem2mem
|
||||||
|
SUBMENU:=$(VIDEO_MENU)
|
||||||
|
TITLE:=Memory 2 Memory device support
|
||||||
|
HIDDEN:=1
|
||||||
|
DEPENDS:=+kmod-video-videobuf2
|
||||||
|
KCONFIG:= CONFIG_V4L_MEM2MEM_DRIVERS=y
|
||||||
|
FILES:= $(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-mem2mem.ko
|
||||||
|
AUTOLOAD:=$(call AutoLoad,66,v4l2-mem2mem)
|
||||||
|
$(call AddDepends/video)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/video-mem2mem/description
|
||||||
|
Memory 2 memory device support
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,video-mem2mem))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user