summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShivaprasad Hongal <shongal@codeaurora.org>2016-06-07 19:05:19 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-07-26 11:58:58 -0700
commit4f37c66dfa0c017fbefebc2db3e507cd62f9ee45 (patch)
tree52eb5cfdf5f680d59628ceed8d507e02977dc9de /include/linux
parentcc915a39313a9c5987f56d4e80fafedbb0ffa913 (diff)
msm: misc: hdcp: add hdcp support for display port
hdcp_library_register API now accepts device type. Based on the device type passed, hdcp driver would open the corresponding device session in trusted application. CRs-Fixed: 1027136 Change-Id: Ia1a72138967a3806253f8431b36af71eaabe816d Signed-off-by: Shivaprasad Hongal <shongal@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/hdcp_qseecom.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/hdcp_qseecom.h b/include/linux/hdcp_qseecom.h
index d9835193961e..26e97700fc73 100644
--- a/include/linux/hdcp_qseecom.h
+++ b/include/linux/hdcp_qseecom.h
@@ -108,9 +108,15 @@ struct hdcp_client_ops {
int (*wakeup)(struct hdmi_hdcp_wakeup_data *data);
};
+enum hdcp_device_type {
+ HDCP_TXMTR_HDMI = 0x8001,
+ HDCP_TXMTR_DP = 0x8002
+};
+
struct hdcp_register_data {
struct hdcp_client_ops *client_ops;
struct hdcp_txmtr_ops *txmtr_ops;
+ enum hdcp_device_type device_type;
void *client_ctx;
void **hdcp_ctx;
bool tethered;