summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAbhijit Kulkarni <kabhijit@codeaurora.org>2016-09-15 10:01:45 -0700
committerAbhijit Kulkarni <kabhijit@codeaurora.org>2016-11-02 15:39:43 -0700
commitf7768d3345034fd29ebed5c5deb0a00b3756e98d (patch)
treea09b88e0e85d4d4882d105dc01d125f48b78901d /include
parentb67bb93f565e831efbcdea58a6751737064d3fc6 (diff)
msm: mdss: Add support for secure camera
Add interface support for secure camera. This change adds the flag for the secure camera buffer in mdss and sde rotator driver interface. CRs-Fixed: 1085143 Change-Id: I3d4c1c7587b367836a151c3c988f58790611acd1 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/msm_mdp_ext.h4
-rw-r--r--include/uapi/media/msm_sde_rotator.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h
index 811d8b4e1994..59bfa1231cb5 100644
--- a/include/uapi/linux/msm_mdp_ext.h
+++ b/include/uapi/linux/msm_mdp_ext.h
@@ -96,6 +96,10 @@ LAYER FLAG CONFIGURATION
*/
#define MDP_LAYER_MULTIRECT_PARALLEL_MODE 0x2000
+
+/* Flag indicates that layer is associated with secure camera session */
+#define MDP_LAYER_SECURE_CAMERA_SESSION 0x4000
+
/**********************************************************************
DESTINATION SCALER FLAG CONFIGURATION
**********************************************************************/
diff --git a/include/uapi/media/msm_sde_rotator.h b/include/uapi/media/msm_sde_rotator.h
index 4487edf0c854..12976e3f14d7 100644
--- a/include/uapi/media/msm_sde_rotator.h
+++ b/include/uapi/media/msm_sde_rotator.h
@@ -86,4 +86,10 @@ struct msm_sde_rotator_fence {
/* SDE Rotator private control ID's */
#define V4L2_CID_SDE_ROTATOR_SECURE (V4L2_CID_USER_BASE + 0x1000)
+/*
+ * This control Id indicates this context is associated with the
+ * secure camera
+ */
+#define V4L2_CID_SDE_ROTATOR_SECURE_CAMERA (V4L2_CID_USER_BASE + 0x2000)
+
#endif /* __UAPI_MSM_SDE_ROTATOR_H__ */