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>
This commit is contained in:
Abhijit Kulkarni 2016-09-15 10:01:45 -07:00
parent b67bb93f56
commit f7768d3345
2 changed files with 10 additions and 0 deletions

View file

@ -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
**********************************************************************/

View file

@ -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__ */