msm: camera: isp: Reset fence after signalling success

If fence is signalled successfully, reset it to -1 to prevent it from
getting signalled again incorrectly.

CRs-Fixed: 3042511
Change-Id: I87f465508e9e626ad700f592478f253f179e9fe9
Signed-off-by: Anand Ravi <ananravi@codeaurora.org>
This commit is contained in:
Anand Ravi
2021-09-22 14:35:24 -07:00
rodzic c8ac17dee6
commit d7eb296004

Wyświetl plik

@@ -1394,6 +1394,8 @@ static int __cam_isp_ctx_handle_buf_done_for_request_verify_addr(
CAM_SYNC_STATE_SIGNALED_SUCCESS, CAM_SYNC_STATE_SIGNALED_SUCCESS,
CAM_SYNC_COMMON_EVENT_SUCCESS); CAM_SYNC_COMMON_EVENT_SUCCESS);
} }
/* Reset fence */
req_isp->fence_map_out[j].sync_id = -1;
} else if (!req_isp->bubble_report) { } else if (!req_isp->bubble_report) {
CAM_DBG(CAM_ISP, CAM_DBG(CAM_ISP,
"Sync with failure: req %lld res 0x%x fd 0x%x, ctx %u", "Sync with failure: req %lld res 0x%x fd 0x%x, ctx %u",