@@ -4841,6 +4841,16 @@ static int __cam_isp_ctx_rdi_only_sof_in_bubble_state(
CAM_DBG(CAM_ISP,
"CDM callback detected for req: %lld, possible buf_done delay, waiting for buf_done",
req->request_id);
+ if (req_isp->num_fence_map_out ==
+ req_isp->num_deferred_acks) {
+ __cam_isp_handle_deferred_buf_done(ctx_isp, req,
+ true,
+ CAM_SYNC_STATE_SIGNALED_ERROR,
+ CAM_SYNC_ISP_EVENT_BUBBLE);
+
+ __cam_isp_ctx_handle_buf_done_for_req_list(
+ ctx_isp, req);
+ }
goto end;
} else {
CAM_WARN(CAM_ISP,