diff options
author | Benoit Parrot <bparrot@ti.com> | 2016-11-18 21:20:39 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-11-22 08:09:10 -0200 |
commit | 1c6e81783cff1a54e05b08691f5ae034af82ba0a (patch) | |
tree | 0b5d9fb50c5e370c0757a9535c230d2d89adc240 /drivers/media/platform/Kconfig | |
parent | b8b3ac44ddf156d0719eee1b0fb23a10a86c8163 (diff) | |
download | linux-1c6e81783cff1a54e05b08691f5ae034af82ba0a.tar.gz linux-1c6e81783cff1a54e05b08691f5ae034af82ba0a.tar.bz2 linux-1c6e81783cff1a54e05b08691f5ae034af82ba0a.zip |
[media] media: ti-vpe: Make scaler library into its own module
In preparation to add scaler support into VIP we need to
turn sc.c into its own kernel module.
Add support for multiple SC memory block as VIP contains
2 scaler instances.
This is done by passing the resource name to sc_create() and
modify the vpe invocation accordingly.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/Kconfig')
-rw-r--r-- | drivers/media/platform/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index b52b6771fc4d..5d7befad90e0 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -365,6 +365,7 @@ config VIDEO_TI_VPE select VIDEOBUF2_DMA_CONTIG select V4L2_MEM2MEM_DEV select VIDEO_TI_VPDMA + select VIDEO_TI_SC default n ---help--- Support for the TI VPE(Video Processing Engine) block @@ -383,6 +384,9 @@ endif # V4L_MEM2MEM_DRIVERS config VIDEO_TI_VPDMA tristate +config VIDEO_TI_SC + tristate + menuconfig V4L_TEST_DRIVERS bool "Media test drivers" depends on MEDIA_CAMERA_SUPPORT |