]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: ti-vpe: vpdma: Add multi-instance and multi-client support
authorBenoit Parrot <bparrot@ti.com>
Fri, 18 Nov 2016 23:20:12 +0000 (21:20 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 22 Nov 2016 08:25:51 +0000 (06:25 -0200)
commitebbe57fc530267d4a9fb642024264bc535fe7669
tree0eeabc15bf6a48c7f91a543de9bfdebedc6a0a23
parent2b6dda4560b1a2bde041425be54c0baa799b72a6
[media] media: ti-vpe: vpdma: Add multi-instance and multi-client support

The VPDMA (Video Port DMA) as found in devices such as DRA7xx is
used for both the Video Processing Engine (VPE) and the Video Input
Port (VIP). Some devices may have multiple VIP instances each with
its own VPDMA engine. Within VIP two slices can use a single VPDMA
engine simultaneously. So support for multi instances and multiple
clients has been added to VPDMA. Needed modification to the existing
helper functions were then reflected to VPE.

Multi-clients registers offset have also been added in preparation.

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/ti-vpe/vpdma.c
drivers/media/platform/ti-vpe/vpdma.h
drivers/media/platform/ti-vpe/vpdma_priv.h
drivers/media/platform/ti-vpe/vpe.c