diff options
| author | Ajay Singh Parmar <aparmar@codeaurora.org> | 2015-12-21 23:59:57 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:14:46 -0700 |
| commit | 5fbd0a8b8e7f538d1a183fcaf7088768a1af3b48 (patch) | |
| tree | abdcafc2b068bd7754d6e2496fa135ea04bf52b4 /include | |
| parent | da613e9e0b3e1098a9748013fddb37d87db474f4 (diff) | |
msm: mdss: hdmi: hdcp2p2: fix hdcp 2.2 compliance issues
Send stream management message to sink after topology update. Poll
for new message or authentication required status after successful
receiver or repeater authentication. Also, DDC hardware polls sink
for a given time. Let the polling complete and do not treat intermediate
DDC errors as failures because DDC transaction can pass in next
iteration. Once polling ends, check for errors and timeouts and reset
polling data. Treat these errors as failure only after polling ends.
Change-Id: I286fb00cf935bff493e108c05df625d5ca3ade26
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/hdcp_qseecom.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/hdcp_qseecom.h b/include/linux/hdcp_qseecom.h index 33b02c6fb066..d9835193961e 100644 --- a/include/linux/hdcp_qseecom.h +++ b/include/linux/hdcp_qseecom.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015, 2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -32,6 +32,7 @@ enum hdmi_hdcp_wakeup_cmd { HDMI_HDCP_WKUP_CMD_RECV_MESSAGE, HDMI_HDCP_WKUP_CMD_STATUS_SUCCESS, HDMI_HDCP_WKUP_CMD_STATUS_FAILED, + HDMI_HDCP_WKUP_CMD_LINK_POLL, HDMI_HDCP_WKUP_CMD_AUTHENTICATE }; @@ -62,6 +63,8 @@ static inline char *hdmi_hdcp_cmd_to_str(uint32_t cmd) return "HDMI_HDCP_WKUP_CMD_STATUS_SUCCESS"; case HDMI_HDCP_WKUP_CMD_STATUS_FAILED: return "HDMI_HDCP_WKUP_CMD_STATUS_FAIL"; + case HDMI_HDCP_WKUP_CMD_LINK_POLL: + return "HDMI_HDCP_WKUP_CMD_LINK_POLL"; case HDMI_HDCP_WKUP_CMD_AUTHENTICATE: return "HDMI_HDCP_WKUP_CMD_AUTHENTICATE"; default: |
