[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>
This commit is contained in:

zatwierdzone przez
Mauro Carvalho Chehab

rodzic
b8b3ac44dd
commit
1c6e81783c
@@ -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
|
||||
|
Reference in New Issue
Block a user