media: platform: rga: move config to its own file
authorMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 11 Mar 2022 11:36:04 +0000 (12:36 +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
rga-specific config stuff on a separate Kconfig file.

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

index 5a84953..314e25d 100644 (file)
@@ -58,6 +58,7 @@ source "drivers/media/platform/qcom/camss/Kconfig"
 source "drivers/media/platform/qcom/venus/Kconfig"
 
 source "drivers/media/platform/aspeed/Kconfig"
+source "drivers/media/platform/rockchip/rga/Kconfig"
 
 config VIDEO_MUX
        tristate "Video Multiplexer"
@@ -284,21 +285,6 @@ config VIDEO_STM32_DMA2D
          The STM32 DMA2D is a memory-to-memory engine for pixel conversion
          and specialized DMA dedicated to image manipulation.
 
-config VIDEO_ROCKCHIP_RGA
-       tristate "Rockchip Raster 2d Graphic Acceleration Unit"
-       depends on V4L_MEM2MEM_DRIVERS
-       depends on VIDEO_DEV && VIDEO_V4L2
-       depends on ARCH_ROCKCHIP || COMPILE_TEST
-       select VIDEOBUF2_DMA_SG
-       select V4L2_MEM2MEM_DEV
-       help
-         This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator.
-         Rockchip RGA is a separate 2D raster graphic acceleration unit.
-         It accelerates 2D graphics operations, such as point/line drawing,
-         image scaling, rotation, BitBLT, alpha blending and image blur/sharpness.
-
-         To compile this driver as a module choose m here.
-
 config VIDEO_TI_VPE
        tristate "TI VPE (Video Processing Engine) driver"
        depends on V4L_MEM2MEM_DRIVERS
diff --git a/drivers/media/platform/rockchip/rga/Kconfig b/drivers/media/platform/rockchip/rga/Kconfig
new file mode 100644 (file)
index 0000000..0106cc8
--- /dev/null
@@ -0,0 +1,14 @@
+config VIDEO_ROCKCHIP_RGA
+       tristate "Rockchip Raster 2d Graphic Acceleration Unit"
+       depends on V4L_MEM2MEM_DRIVERS
+       depends on VIDEO_DEV && VIDEO_V4L2
+       depends on ARCH_ROCKCHIP || COMPILE_TEST
+       select VIDEOBUF2_DMA_SG
+       select V4L2_MEM2MEM_DEV
+       help
+         This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator.
+         Rockchip RGA is a separate 2D raster graphic acceleration unit.
+         It accelerates 2D graphics operations, such as point/line drawing,
+         image scaling, rotation, BitBLT, alpha blending and image blur/sharpness.
+
+         To compile this driver as a module choose m here.