]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: ti-vpe: Make scaler library into its own module
authorBenoit Parrot <bparrot@ti.com>
Fri, 18 Nov 2016 23:20:39 +0000 (21:20 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 22 Nov 2016 10:09:10 +0000 (08:09 -0200)
commit916cf1084f14238deb458a9d6042694e61dad540
tree0b5d9fb50c5e370c0757a9535c230d2d89adc240
parenta9cadd44874fbdc87ac8f89aafc7f07114f95da9
[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>
drivers/media/platform/Kconfig
drivers/media/platform/ti-vpe/Makefile
drivers/media/platform/ti-vpe/sc.c
drivers/media/platform/ti-vpe/sc.h
drivers/media/platform/ti-vpe/vpe.c