]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: ti: vpe: Re-introduce multi-instance and multi-client support
authorYemike Abhilash Chandra <y-abhilashchandra@ti.com>
Wed, 24 Dec 2025 10:20:24 +0000 (15:50 +0530)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 13 Jan 2026 12:49:02 +0000 (13:49 +0100)
commit4011e67a989b828cbf885131933d322dfe80f33a
tree915c7557901cf73d110a6c3265c8bc08b234961e
parent36eab90d3f4f4c38d1e9635af40cdd40c7675471
media: ti: vpe: Re-introduce multi-instance and multi-client support

vpdma_update_dma_addr() was originally added to support multi-instance and
multi-client in vpdma. However it was dropped as it was unused.

We are adding support for TI 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 is needed. Hence reintroduce multi-instance and
multi-client support. Also add kernel doc and switch to GPL version of
EXPORT_SYMBOL.

This reverts commit 9314891df119442a6ec1518b3d872c330e2bf1a1.

Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/ti/vpe/vpdma.c
drivers/media/platform/ti/vpe/vpdma.h