]> git.karo-electronics.de Git - linux-beck.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)
commit2f88703a0bfd1a4e88e1a7cf2542880ef72fdcc0
tree0eeabc15bf6a48c7f91a543de9bfdebedc6a0a23
parente4e9aeaf8c2f6b2c4a5ca5049b9326de05384185
[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