libcamera: pipeline: rkisp1: Fail RkISP1FrameInfo can't be found

The RkISP1FrameInfo structure associated data sent to the IPA and is
essential for handling events.

If it can not be found, this is a fatal error which must be fixed.

Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2021-04-13 16:53:10 +01:00
parent 47c12e2635
commit 0abed64843

View File

@@ -267,7 +267,8 @@ RkISP1FrameInfo *RkISP1Frames::find(unsigned int frame)
if (itInfo != frameInfo_.end())
return itInfo->second;
LOG(RkISP1, Error) << "Can't locate info from frame";
LOG(RkISP1, Fatal) << "Can't locate info from frame";
return nullptr;
}
@@ -283,7 +284,8 @@ RkISP1FrameInfo *RkISP1Frames::find(FrameBuffer *buffer)
return info;
}
LOG(RkISP1, Error) << "Can't locate info from buffer";
LOG(RkISP1, Fatal) << "Can't locate info from buffer";
return nullptr;
}
@@ -296,7 +298,8 @@ RkISP1FrameInfo *RkISP1Frames::find(Request *request)
return info;
}
LOG(RkISP1, Error) << "Can't locate info from request";
LOG(RkISP1, Fatal) << "Can't locate info from request";
return nullptr;
}