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:
parent
b67bb93f56
commit
f7768d3345
2 changed files with 10 additions and 0 deletions
|
@ -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
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
|
@ -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__ */
|
||||||
|
|
Loading…
Add table
Reference in a new issue