tegra: cortexa9: enable VDE driver nvidia_jetson
authorTomasz Maciej Nowak <tmn505@gmail.com>
Sun, 13 Aug 2023 16:21:13 +0000 (18:21 +0200)
committerKoen Vandeputte <koen.vandeputte@citymesh.com>
Mon, 22 Apr 2024 08:15:34 +0000 (10:15 +0200)
This drives power domain responsible for clean reboot.

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
package/kernel/linux/modules/video.mk
target/linux/tegra/cortexa9/config-6.1

index b282d7695c92ee94d9fddb8a3e9445f5edc89d4e..2c4d49b3424d33bf99da88dd4a77e8a3587ef22c 100644 (file)
@@ -1146,7 +1146,7 @@ define KernelPackage/video-mem2mem
   SUBMENU:=$(VIDEO_MENU)
   TITLE:=Memory 2 Memory device support
   HIDDEN:=1
-  DEPENDS:=+kmod-video-videobuf2
+  DEPENDS:=@!TARGET_tegra_cortexa9 +kmod-video-videobuf2
   KCONFIG:= \
     CONFIG_V4L_MEM2MEM_DRIVERS=y \
     CONFIG_V4L2_MEM2MEM_DEV
@@ -1165,7 +1165,7 @@ define KernelPackage/video-dma
   SUBMENU:=$(VIDEO_MENU)
   TITLE:=Video DMA support
   HIDDEN:=1
-  DEPENDS:=+kmod-video-videobuf2
+  DEPENDS:=@!TARGET_tegra_cortexa9 +kmod-video-videobuf2
   KCONFIG:= \
        CONFIG_VIDEOBUF2_DMA_CONTIG \
        CONFIG_VIDEOBUF2_DMA_SG
index 9432ae0ed832effb16d525ab6c7046e768b27c20..bd7badbb6ae1e7ccd0983b12fcdba1c51719e68f 100644 (file)
@@ -159,6 +159,12 @@ CONFIG_LZ4_COMPRESS=y
 CONFIG_LZ4_DECOMPRESS=y
 CONFIG_LZO_COMPRESS=y
 CONFIG_LZO_DECOMPRESS=y
+CONFIG_MEDIA_CONTROLLER=y
+CONFIG_MEDIA_CONTROLLER_REQUEST_API=y
+CONFIG_MEDIA_PLATFORM_DRIVERS=y
+CONFIG_MEDIA_PLATFORM_SUPPORT=y
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_MEDIA_SUPPORT_FILTER=y
 CONFIG_MEMORY_ISOLATION=y
 # CONFIG_MFD_ACER_A500_EC is not set
 # CONFIG_MFD_NVEC is not set
@@ -248,6 +254,8 @@ CONFIG_SND_SOC_TLV320AIC23_I2C=y
 CONFIG_SOC_TEGRA20_VOLTAGE_COUPLER=y
 CONFIG_SOFTIRQ_ON_OWN_STACK=y
 # CONFIG_SPI_TEGRA210_QUAD is not set
+CONFIG_SRAM=y
+CONFIG_SRAM_EXEC=y
 CONFIG_SWP_EMULATE=y
 CONFIG_SYNC_FILE=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -264,8 +272,19 @@ CONFIG_USB_CHIPIDEA_UDC=y
 CONFIG_USB_HID=y
 CONFIG_USB_HIDDEV=y
 CONFIG_USE_OF=y
+CONFIG_V4L2_H264=y
+CONFIG_V4L2_MEM2MEM_DEV=y
+CONFIG_V4L_MEM2MEM_DRIVERS=y
 CONFIG_VFP=y
 CONFIG_VFPv3=y
+CONFIG_VIDEOBUF2_CORE=y
+CONFIG_VIDEOBUF2_DMA_CONTIG=y
+CONFIG_VIDEOBUF2_DMA_SG=y
+CONFIG_VIDEOBUF2_MEMOPS=y
+CONFIG_VIDEOBUF2_V4L2=y
+CONFIG_VIDEO_DEV=y
+CONFIG_VIDEO_TEGRA_VDE=y
+CONFIG_VIDEO_V4L2_I2C=y
 # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
 CONFIG_XZ_DEC_ARMTHUMB=y
 CONFIG_ZBOOT_ROM_BSS=0