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/ti-vpe/vpe.c | |
parent | b8b3ac44ddf156d0719eee1b0fb23a10a86c8163 (diff) | |
download | talos-obmc-linux-1c6e81783cff1a54e05b08691f5ae034af82ba0a.tar.gz talos-obmc-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/ti-vpe/vpe.c')
-rw-r--r-- | drivers/media/platform/ti-vpe/vpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/ti-vpe/vpe.c b/drivers/media/platform/ti-vpe/vpe.c index 1d780ac7ff82..ebde4f4586e6 100644 --- a/drivers/media/platform/ti-vpe/vpe.c +++ b/drivers/media/platform/ti-vpe/vpe.c @@ -2453,7 +2453,7 @@ static int vpe_probe(struct platform_device *pdev) vpe_top_vpdma_reset(dev); - dev->sc = sc_create(pdev); + dev->sc = sc_create(pdev, "sc"); if (IS_ERR(dev->sc)) { ret = PTR_ERR(dev->sc); goto runtime_put; |