Эх сурвалжийг харах

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 <[email protected]>
Depeng Shao 5 жил өмнө
parent
commit
95460b8f2e

+ 3 - 3
drivers/cam_isp/cam_isp_context.c

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