diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-08-26 14:48:41 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-26 14:48:41 -0700 |
| commit | 917e5e4c37e43e7e7441b7a5bdbc628798516cdf (patch) | |
| tree | 23959d2ca9df024c1323848e65d76982d7f6f5cf /include/linux | |
| parent | 6ca1ce42e81c9827756d66f55f0c11867d67fbf2 (diff) | |
| parent | f1b139c49ec2a726378003364a5fadb6ad973fed (diff) | |
Merge "msm: misc: hdcp: add support for multi-part hdcp2p2 messages"
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hdcp_qseecom.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/hdcp_qseecom.h b/include/linux/hdcp_qseecom.h index 26e97700fc73..f66264bc935a 100644 --- a/include/linux/hdcp_qseecom.h +++ b/include/linux/hdcp_qseecom.h @@ -14,6 +14,8 @@ #define __HDCP_QSEECOM_H #include <linux/types.h> +#define HDCP_MAX_MESSAGE_PARTS 4 + enum hdcp_lib_wakeup_cmd { HDCP_LIB_WKUP_CMD_INVALID, HDCP_LIB_WKUP_CMD_START, @@ -44,12 +46,25 @@ struct hdcp_lib_wakeup_data { uint32_t timeout; }; +struct hdcp_msg_part { + uint32_t offset; + uint32_t length; +}; + +struct hdcp_msg_data { + uint32_t num_messages; + struct hdcp_msg_part messages[HDCP_MAX_MESSAGE_PARTS]; + uint8_t rx_status; +}; + struct hdmi_hdcp_wakeup_data { enum hdmi_hdcp_wakeup_cmd cmd; void *context; char *send_msg_buf; uint32_t send_msg_len; uint32_t timeout; + uint8_t abort_mask; + const struct hdcp_msg_data *message_data; }; static inline char *hdmi_hdcp_cmd_to_str(uint32_t cmd) |
