Merge "msm: mdss: Add support for secure camera"

This commit is contained in:
Linux Build Service Account 2016-11-08 11:18:40 -08:00 committed by Gerrit - the friendly Code Review server
commit a273d731af
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 #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 DESTINATION SCALER FLAG CONFIGURATION
**********************************************************************/ **********************************************************************/

View file

@ -86,4 +86,10 @@ struct msm_sde_rotator_fence {
/* SDE Rotator private control ID's */ /* SDE Rotator private control ID's */
#define V4L2_CID_SDE_ROTATOR_SECURE (V4L2_CID_USER_BASE + 0x1000) #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__ */ #endif /* __UAPI_MSM_SDE_ROTATOR_H__ */