فهرست منبع

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,