소스 검색

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 <[email protected]>
Akshata Sahukar 4 년 전
부모
커밋
0910978cb0
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      driver/vidc/src/venus_hfi.c

+ 1 - 4
driver/vidc/src/venus_hfi.c

@@ -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,