msm: camera: isp: Use default epoch config for SFE use-cases
Skip epoch height config from userland for CSID CAMIF, if they are not subscribed for as primary events in non-SFE use-cases. CRs-Fixed: 3306019 Change-Id: I08546d568661cbf040dbb22c3bc9d4e92cec332b Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
Dieser Commit ist enthalten in:

committet von
“Savita

Ursprung
8737f407d3
Commit
3d3636beb9
@@ -5679,6 +5679,10 @@ static int cam_ife_csid_init_config_update(
|
||||
}
|
||||
|
||||
path_cfg = (struct cam_ife_csid_ver2_path_cfg *)res->res_priv;
|
||||
/* Skip epoch update if resource does not handle camif IRQs */
|
||||
if (!path_cfg->handle_camif_irq)
|
||||
goto end;
|
||||
|
||||
path_cfg->epoch_cfg = (path_cfg->end_line - path_cfg->start_line) *
|
||||
init_cfg->init_config->epoch_cfg.epoch_factor / 100;
|
||||
|
||||
@@ -5691,7 +5695,7 @@ static int cam_ife_csid_init_config_update(
|
||||
CAM_DBG(CAM_ISP,
|
||||
"Init Update for res_name: %s epoch_factor: %x",
|
||||
res->res_name, path_cfg->epoch_cfg);
|
||||
|
||||
end:
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren