media: platform: s5p-g2d: move config to its own file

In order to better organize the platform/Kconfig, place
s5p-g2d-specific config stuff on a separate Kconfig file.

Acked-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
Mauro Carvalho Chehab 2022-03-11 12:37:24 +01:00
parent b811169f86
commit bbb9ecf2ab
2 changed files with 12 additions and 10 deletions

View File

@ -60,6 +60,7 @@ source "drivers/media/platform/qcom/venus/Kconfig"
source "drivers/media/platform/aspeed/Kconfig" source "drivers/media/platform/aspeed/Kconfig"
source "drivers/media/platform/rockchip/rga/Kconfig" source "drivers/media/platform/rockchip/rga/Kconfig"
source "drivers/media/platform/s3c-camif/Kconfig" source "drivers/media/platform/s3c-camif/Kconfig"
source "drivers/media/platform/s5p-g2d/Kconfig"
config VIDEO_MUX config VIDEO_MUX
tristate "Video Multiplexer" tristate "Video Multiplexer"
@ -154,16 +155,6 @@ config VIDEO_MEM2MEM_DEINTERLACE
help help
Generic deinterlacing V4L2 driver. Generic deinterlacing V4L2 driver.
config VIDEO_SAMSUNG_S5P_G2D
tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
depends on V4L_MEM2MEM_DRIVERS
depends on VIDEO_DEV && VIDEO_V4L2
depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
select VIDEOBUF2_DMA_CONTIG
select V4L2_MEM2MEM_DEV
help
This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
2d graphics accelerator.
config VIDEO_SAMSUNG_S5P_JPEG config VIDEO_SAMSUNG_S5P_JPEG
tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver" tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"

View File

@ -0,0 +1,11 @@
config VIDEO_SAMSUNG_S5P_G2D
tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
depends on V4L_MEM2MEM_DRIVERS
depends on VIDEO_DEV && VIDEO_V4L2
depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
select VIDEOBUF2_DMA_CONTIG
select V4L2_MEM2MEM_DEV
help
This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
2d graphics accelerator.