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

Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/Kconfig
drivers/media/platform/meson/ge2d/Kconfig [new file with mode: 0644]

index 57ca242..d3b7bef 100644 (file)
@@ -47,6 +47,7 @@ source "drivers/media/platform/coda/Kconfig"
 source "drivers/media/platform/davinci/Kconfig"
 
 source "drivers/media/platform/exynos-gsc/Kconfig"
+source "drivers/media/platform/meson/ge2d/Kconfig"
 source "drivers/media/platform/omap/Kconfig"
 
 source "drivers/media/platform/aspeed/Kconfig"
@@ -273,20 +274,6 @@ config VIDEO_MEM2MEM_DEINTERLACE
        help
            Generic deinterlacing V4L2 driver.
 
-config VIDEO_MESON_GE2D
-       tristate "Amlogic 2D Graphic Acceleration Unit"
-       depends on V4L_MEM2MEM_DRIVERS
-       depends on VIDEO_DEV && VIDEO_V4L2
-       depends on ARCH_MESON || COMPILE_TEST
-       select VIDEOBUF2_DMA_CONTIG
-       select V4L2_MEM2MEM_DEV
-       help
-         This is a v4l2 driver for Amlogic GE2D 2D graphics accelerator.
-         GE2D is a standalone 2D graphic acceleration unit, with color converter,
-         image scaling, BitBLT & alpha blending operations.
-
-         To compile this driver as a module choose m here.
-
 config VIDEO_SAMSUNG_S5P_G2D
        tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
        depends on V4L_MEM2MEM_DRIVERS
diff --git a/drivers/media/platform/meson/ge2d/Kconfig b/drivers/media/platform/meson/ge2d/Kconfig
new file mode 100644 (file)
index 0000000..8c3f3b1
--- /dev/null
@@ -0,0 +1,14 @@
+config VIDEO_MESON_GE2D
+       tristate "Amlogic 2D Graphic Acceleration Unit"
+       depends on V4L_MEM2MEM_DRIVERS
+       depends on VIDEO_DEV && VIDEO_V4L2
+       depends on ARCH_MESON || COMPILE_TEST
+       select VIDEOBUF2_DMA_CONTIG
+       select V4L2_MEM2MEM_DEV
+       help
+         This is a v4l2 driver for Amlogic GE2D 2D graphics accelerator.
+         GE2D is a standalone 2D graphic acceleration unit, with color converter,
+         image scaling, BitBLT & alpha blending operations.
+
+         To compile this driver as a module choose m here.
+