ipa: vimc: Map and unmap buffers

VIMC pipeline handler has dmabuf-backed mock FrameBuffers which are
specifically targetted mimicking IPA buffers (parameter and statistics).
Map these mock buffers to the VIMC IPA that would enable exercising IPA
IPC code paths. This will provide leverage to our test suite to test
IPA IPC code paths, which are common to various platforms.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Umang Jain 2021-08-14 10:39:11 +05:30
parent aad68099e5
commit 3c5732d04a
3 changed files with 44 additions and 0 deletions

View file

@ -26,6 +26,9 @@ interface IPAVimcInterface {
start() => (int32 ret);
stop();
mapBuffers(array<libcamera.IPABuffer> buffers);
unmapBuffers(array<uint32> ids);
};
interface IPAVimcEventInterface {