msm: camera: isp: Don't report bubble if req is applied after SOF

We may apply req in between SOF and EPOCH due to workqueue delay,
then we will apply default setting in same frame, it will cause
the buf done of the following frame is delayed one frame in SHDR
usecase. This change avoids to report bubble for that case.

CRs-Fixed: 3325004
Change-Id: I1a3ae198466fde6390245a55f0f695649741bd62
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
This commit is contained in:
Depeng Shao
2022-10-29 16:56:10 +08:00
committed by Camera Software Integration
parent a67c53b1d6
commit d629bef360
2 changed files with 32 additions and 0 deletions

View File

@@ -295,6 +295,8 @@ struct cam_isp_context_event_record {
* @v4l2_event_sub_ids contains individual bits representing subscribed v4l2 ids
* @evt_inject_params: event injection parameters
* @aeb_enabled: Indicate if stream is for AEB
* @last_sof_jiffies: Record the jiffies of last sof
* @last_applied_jiffies: Record the jiffiest of last applied req
*
*/
struct cam_isp_context {
@@ -353,6 +355,8 @@ struct cam_isp_context {
uint32_t v4l2_event_sub_ids;
struct cam_hw_inject_evt_param evt_inject_params;
bool aeb_enabled;
uint64_t last_sof_jiffies;
uint64_t last_applied_jiffies;
};
/**