video: driver: Enable CP memory protection for secure non pixel cb

Revert disabling CP memory protection for secure non
pixel cb to avoid firmware hang issue for enc session.

Change-Id: I93260691d9504b33fc8f88a28fb81e66c9d24ce4
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
此提交包含在:
Akshata Sahukar
2021-01-07 23:00:44 -08:00
父節點 689fd02b04
當前提交 0910978cb0

查看文件

@@ -1094,7 +1094,7 @@ skip_power_off:
static int __protect_cp_mem(struct msm_vidc_core *core)
{
#if 0
struct tzbsp_memprot memprot;
int rc = 0;
struct context_bank_info *cb;
@@ -1132,9 +1132,6 @@ static int __protect_cp_mem(struct msm_vidc_core *core)
d_vpr_e("Failed to protect memory(%d)\n", rc);
return rc;
#endif
// TODO: revert once SSG changes merged
return 0;
}
#if 0 // TODO
static int __core_set_resource(struct msm_vidc_core *core,