ipa: ipu3: Support return values from configure()

The IPU3 IPA interface does not define a return value from configure().
This prevents errors from being reported back to the pipeline handler
when they occur in the IPA.

Update the IPU3 IPA interface and add return values to the checks in
IPAIPU3::configure() accordingly

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2021-06-11 13:52:39 +01:00
parent 529a3c4e43
commit 15196e5b76
3 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ interface IPAIPU3Interface {
start() => (int32 ret);
stop();
configure(IPAConfigInfo configInfo) => ();
configure(IPAConfigInfo configInfo) => (int32 ret);
mapBuffers(array<libcamera.IPABuffer> buffers);
unmapBuffers(array<uint32> ids);