Browse Source

Merge "msm: camera: isp: handle buf_done at apply failure from deferred list" into camera-kernel.lnx.6.0

Haritha Chintalapati 3 năm trước cách đây
mục cha
commit
a97ccf4ee0
1 tập tin đã thay đổi với 10 bổ sung0 xóa
  1. 10 0
      drivers/cam_isp/cam_isp_context.c

+ 10 - 0
drivers/cam_isp/cam_isp_context.c

@@ -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,