diff options
| author | Abhijit Kulkarni <kabhijit@codeaurora.org> | 2016-09-26 22:32:10 -0700 |
|---|---|---|
| committer | Abhijit Kulkarni <kabhijit@codeaurora.org> | 2016-12-11 22:34:01 -0800 |
| commit | cbd1c43d5a8ae87d5f4671f02c4b0a9a27cbd895 (patch) | |
| tree | 1ce481f065c0ade8189758b24f7bd79157cfc296 /include | |
| parent | 368fecd7df5b203a5ce684a0c77726a5690c1147 (diff) | |
msm: sde: secure camera changes for v4l2 rotator
Add support for secure camera buffer handling in SDE rotator.
This change adds detaching the secure context when the buffer
with the secure camera flag is signaled and attaches the secure
context when going back to normal non securer-camera usecases.
Change-Id: Iaff45907e78775975fa3035404dcfd9b27e6e816
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/media/msm_sde_rotator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/media/msm_sde_rotator.h b/include/uapi/media/msm_sde_rotator.h index 4487edf0c854..3546b0bf1377 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__ */ |
