msm: camera: isp: Avoid multiple bubble handling

If there is a genuine bubble followed by an out of sync,
handle bubble once. If the out of sync continues to happen,
try for internal recovery.

CRs-Fixed: 3336466
Change-Id: Ib697ac1b8907459d06313a9f301cb00a480bd858
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
Signed-off-by: Depeng Shao <quic_depengs@quicinc.com>
此提交包含在:
Karthik Anantha Ram
2022-11-09 15:06:07 -08:00
提交者 Camera Software Integration
父節點 94deca6c12
當前提交 06142d3894
共有 2 個檔案被更改,包括 17 行新增3 行删除

查看文件

@@ -269,6 +269,7 @@ struct cam_isp_context_event_record {
* @bubble_frame_cnt: Count of the frame after bubble
* @aeb_error_cnt: Count number of times a specific AEB error scenario is
* enountered
* @out_of_sync_cnt: Out of sync error count for AEB
* @state_monitor_head: Write index to the state monitoring array
* @req_info Request id information about last buf done
* @cam_isp_ctx_state_monitor: State monitoring array
@@ -329,6 +330,7 @@ struct cam_isp_context {
uint64_t last_sof_timestamp;
uint32_t bubble_frame_cnt;
uint32_t aeb_error_cnt;
uint32_t out_of_sync_cnt;
atomic64_t state_monitor_head;
struct cam_isp_context_state_monitor cam_isp_ctx_state_monitor[
CAM_ISP_CTX_STATE_MONITOR_MAX_ENTRIES];