mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
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:
parent
85dac39a9e
commit
95460b8f2e
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue