msm: camera: req_mgr: Increase one more request to apply in initial sync

For SW sync to work, CRM needs to apply the first 6 requests in
initial sync mode. This change is to increase the count of requests
to be applied in the initial sync mode.

CRs-Fixed: 3000684
Change-Id: Ic35d37ac727fc10ec113dd9f05074cec7a52e39a
Signed-off-by: Ayush Kumar <ayushkr@codeaurora.org>
Tento commit je obsažen v:
Ayush Kumar
2021-08-11 19:11:14 +05:30
rodič 46d07dd8d8
revize 688f87e5e7

Zobrazit soubor

@@ -2396,7 +2396,7 @@ int cam_req_mgr_process_sched_req(void *priv, void *data)
*/
if (link->sync_data.is_sync_req && tmp_slot->sync_mode == CAM_REQ_MGR_SYNC_MODE_SYNC
&& ((link->sync_data.initial_sync_req + 5) > tmp_slot->req_id)) {
&& ((link->sync_data.initial_sync_req + 6) > tmp_slot->req_id)) {
slot->sync_mode = CAM_REQ_MGR_SYNC_MODE_TRANSITION_SYNC;
} else if (tmp_slot->sync_mode == CAM_REQ_MGR_SYNC_MODE_SYNC) {
if (link->sync_data.is_sync_req && (link->initial_skip == 0)) {