msm: camera: isp: Fix RDI only early PCR issue

RDI only context also need to get req from
wait_req_list afte received RUP event in early
PCR case.

CRs-Fixed: 2511798
Change-Id: If2e8da36cf83dee1c348dd0d6c6ea916061a376e
Signed-off-by: Depeng Shao <depengs@codeaurora.org>
This commit is contained in:
Depeng Shao 2019-08-20 13:22:42 +08:00 • committed by Gerrit - the friendly Code Review server
commit 95460b8f2e

View file

@ -3518,11 +3518,11 @@ static int __cam_isp_ctx_start_dev_in_ready(struct cam_context *ctx,
*/
list_del_init(&req->list);
if (req_isp->num_fence_map_out) {
if (ctx_isp->rdi_only_context || !req_isp->num_fence_map_out) {
list_add_tail(&req->list, &ctx->wait_req_list);
} else {
list_add_tail(&req->list, &ctx->active_req_list);
ctx_isp->active_req_cnt++;
} else {
list_add_tail(&req->list, &ctx->wait_req_list);
}
start_isp.hw_config.ctxt_to_hw_map = ctx_isp->hw_ctx;