msm: eva: moves synx_recovery ahead of f/w loading
Before booting f/w, synx_recovery() shall be called as part of SSR. Change-Id: I1d03f073c964eaf5b26dd4fec5aac88b7d9de1a8 Signed-off-by: George Shen <quic_sqiao@quicinc.com>
This commit is contained in:
@@ -2081,6 +2081,14 @@ static int iris_hfi_core_init(void *device)
|
||||
goto err_load_fw;
|
||||
}
|
||||
|
||||
#ifdef CVP_CONFIG_SYNX_V2
|
||||
rc = cvp_synx_recover();
|
||||
if (rc) {
|
||||
dprintk(CVP_ERR, "Failed to recover synx\n");
|
||||
goto err_core_init;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* mmrm registration */
|
||||
if (msm_cvp_mmrm_enabled) {
|
||||
rc = msm_cvp_mmrm_register(device);
|
||||
@@ -2150,14 +2158,6 @@ static int iris_hfi_core_init(void *device)
|
||||
__set_ubwc_config(device);
|
||||
__sys_set_idle_indicator(device, true);
|
||||
|
||||
#ifdef CVP_CONFIG_SYNX_V2
|
||||
rc = cvp_synx_recover();
|
||||
if (rc) {
|
||||
dprintk(CVP_ERR, "Failed to recover synx\n");
|
||||
goto err_core_init;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (dev->res->pm_qos.latency_us) {
|
||||
int err = 0;
|
||||
u32 i, cpu;
|
||||
|
Reference in New Issue
Block a user