msm_vidc: Disable CP memory protection

Disabling CP memory protection.

Change-Id: Ief8a06b39689452fedbc8729dd36c759498487ba
Signed-off-by: Prabhakar Reddy Krishnappa <prkrishn@codeaurora.org>
This commit is contained in:
Prabhakar Reddy Krishnappa
2020-12-08 11:55:44 -08:00
parent 0003d4f658
commit 3998387423

View File

@@ -2379,11 +2379,14 @@ static int __load_fw(struct msm_vidc_core *core)
}
}
// TODO: Prabhakar - revisit once hyp support is available.
#ifdef WAIPIO_PRESIL_CP_ENABLE
rc = __protect_cp_mem(core);
if (rc) {
d_vpr_e("%s: protect memory failed\n", __func__);
goto fail_protect_mem;
}
#endif
/*
* Hand off control of regulators to h/w _after_ loading fw.
* Note that the GDSC will turn off when switching from normal