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>
此提交包含在:
@@ -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,
|
||||
|
新增問題並參考
封鎖使用者