msm: mdss: Add support to get/set secure flag via an ioctl
Add support to get/set secure flag for WB session through an ioctl.
This is required for WB clients such as AD/WFD, enabling them to modify
or query the secure flag depending on requirements e.g. secure video
playback when using AD.
Change-Id: I852b6f79b31b5ba027d9a5c11561c562023cb99f
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
diff --git a/include/linux/msm_mdp.h b/include/linux/msm_mdp.h
index 0c08421..cd80920 100644
--- a/include/linux/msm_mdp.h
+++ b/include/linux/msm_mdp.h
@@ -798,6 +798,7 @@
metadata_op_frame_rate,
metadata_op_vic,
metadata_op_wb_format,
+ metadata_op_wb_secure,
metadata_op_get_caps,
metadata_op_crc,
metadata_op_max
@@ -830,6 +831,7 @@
uint32_t panel_frame_rate;
uint32_t video_info_code;
struct mdss_hw_caps caps;
+ uint8_t secure_en;
} data;
};