msm: camera: Add support for mapping secure memory for CDSP access
Add ion CDSP flag while allocating memory from secure heap for content
protection when CDSP needs to access the buffers.
Change-Id: I7df7b5086af66807e08ada602bd9eac76e965376
Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
Signed-off-by: Raja Mallik <rmallik@codeaurora.org>
diff --git a/include/uapi/media/cam_req_mgr.h b/include/uapi/media/cam_req_mgr.h
index d999e4f..560ea59 100644
--- a/include/uapi/media/cam_req_mgr.h
+++ b/include/uapi/media/cam_req_mgr.h
@@ -245,6 +245,7 @@
#define CAM_MEM_FLAG_PACKET_BUF_TYPE (1<<9)
#define CAM_MEM_FLAG_CACHE (1<<10)
#define CAM_MEM_FLAG_HW_SHARED_ACCESS (1<<11)
+#define CAM_MEM_FLAG_CDSP_OUTPUT (1<<12)
#define CAM_MEM_MMU_MAX_HANDLE 16