mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
msm: camera: isp: handle buf_done at apply failure from deferred list
For RDI only context where the buf_done is handled from wait list, if the buf_done is moved to deferred list then the bubble recovery might fail. To make sure the bubble is processed the request needs to be moved pending list. This change helps moving the request from active list to pending list. CRs-Fixed: 3079621 Change-Id: Ibb271e68ca2312cbd3d71bd64e2ed7963bf60b55 Signed-off-by: Tejas Prajapati <tpraja@codeaurora.org>
This commit is contained in:
parent
8a251d8af1
commit
572462dbf6
1 changed files with 10 additions and 0 deletions
|
|
@ -4119,6 +4119,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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue