media: platform: venus: move config to its own file
authorMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 11 Mar 2022 11:35:22 +0000 (12:35 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 15 Mar 2022 05:45:40 +0000 (06:45 +0100)
In order to better organize the platform/Kconfig, place
venus-specific config stuff on a separate Kconfig file.

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/Kconfig
drivers/media/platform/qcom/venus/Kconfig [new file with mode: 0644]

index b5a1cb0..5a84953 100644 (file)
@@ -55,6 +55,7 @@ source "drivers/media/platform/mtk-vpu/Kconfig"
 source "drivers/media/platform/omap3isp/Kconfig"
 source "drivers/media/platform/omap/Kconfig"
 source "drivers/media/platform/qcom/camss/Kconfig"
+source "drivers/media/platform/qcom/venus/Kconfig"
 
 source "drivers/media/platform/aspeed/Kconfig"
 
@@ -319,21 +320,6 @@ config VIDEO_TI_VPE_DEBUG
        help
          Enable debug messages on VPE driver.
 
-config VIDEO_QCOM_VENUS
-       tristate "Qualcomm Venus V4L2 encoder/decoder driver"
-       depends on V4L_MEM2MEM_DRIVERS
-       depends on VIDEO_DEV && VIDEO_V4L2 && QCOM_SMEM
-       depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
-       select QCOM_MDT_LOADER if ARCH_QCOM
-       select QCOM_SCM
-       select VIDEOBUF2_DMA_CONTIG
-       select V4L2_MEM2MEM_DEV
-       help
-         This is a V4L2 driver for Qualcomm Venus video accelerator
-         hardware. It accelerates encoding and decoding operations
-         on various Qualcomm SoCs.
-         To compile this driver as a module choose m here.
-
 config VIDEO_SUN8I_DEINTERLACE
        tristate "Allwinner Deinterlace driver"
        depends on V4L_MEM2MEM_DRIVERS
diff --git a/drivers/media/platform/qcom/venus/Kconfig b/drivers/media/platform/qcom/venus/Kconfig
new file mode 100644 (file)
index 0000000..de0fe3f
--- /dev/null
@@ -0,0 +1,14 @@
+config VIDEO_QCOM_VENUS
+       tristate "Qualcomm Venus V4L2 encoder/decoder driver"
+       depends on V4L_MEM2MEM_DRIVERS
+       depends on VIDEO_DEV && VIDEO_V4L2 && QCOM_SMEM
+       depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
+       select QCOM_MDT_LOADER if ARCH_QCOM
+       select QCOM_SCM
+       select VIDEOBUF2_DMA_CONTIG
+       select V4L2_MEM2MEM_DEV
+       help
+         This is a V4L2 driver for Qualcomm Venus video accelerator
+         hardware. It accelerates encoding and decoding operations
+         on various Qualcomm SoCs.
+         To compile this driver as a module choose m here.