diff options
| author | Ajay Singh Parmar <aparmar@codeaurora.org> | 2013-07-30 23:48:27 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:20:20 -0700 |
| commit | b32a8b2e782ac00cc7744fc663d5db6b7f12598c (patch) | |
| tree | 9766ce22d9866dd63409bfc2607d2f83e9b11ee1 /include/uapi | |
| parent | 4d025148bebafc76f21dd127e0ca64f0c4605a26 (diff) | |
mdss: hdmi: HDCP Topology
This change provides a mechanism to communicate with HDCP manager
to share the downstream KSVs to upstream HDMI devices.
Change-Id: Ib0d772d157af65b2f35c9b7e7cebe8d0e1670735
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/video/Kbuild | 2 | ||||
| -rw-r--r-- | include/uapi/video/msm_hdmi_hdcp_mgr.h | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/include/uapi/video/Kbuild b/include/uapi/video/Kbuild index ac7203bb32cc..e50d84d8747e 100644 --- a/include/uapi/video/Kbuild +++ b/include/uapi/video/Kbuild @@ -2,3 +2,5 @@ header-y += edid.h header-y += sisfb.h header-y += uvesafb.h +header-y += msm_hdmi_modes.h +header-y += msm_hdmi_hdcp_mgr.h diff --git a/include/uapi/video/msm_hdmi_hdcp_mgr.h b/include/uapi/video/msm_hdmi_hdcp_mgr.h new file mode 100644 index 000000000000..85fa918f2579 --- /dev/null +++ b/include/uapi/video/msm_hdmi_hdcp_mgr.h @@ -0,0 +1,54 @@ +#ifndef _UAPI__HDMI_HDCP_MGR_H +#define _UAPI__MSM_HDMI_HDCP_MGR_H + +enum DS_TYPE { /* type of downstream device */ + DS_UNKNOWN, + DS_RECEIVER, + DS_REPEATER, +}; + +enum { + MSG_ID_IDX, + RET_CODE_IDX, + HEADER_LEN, +}; + +enum RET_CODE { + HDCP_NOT_AUTHED, + HDCP_AUTHED, + HDCP_DISABLE, +}; + +enum MSG_ID { /* List of functions expected to be called after it */ + DOWN_CHECK_TOPOLOGY, + UP_REQUEST_TOPOLOGY, + UP_SEND_TOPOLOGY, + DOWN_REQUEST_TOPOLOGY, + MSG_NUM, +}; + +enum SOURCE_ID { + HDCP_V1_TX, + HDCP_V1_RX, + HDCP_V2_RX, + HDCP_V2_TX, + SRC_NUM, +}; + +/* + * how to parse sysfs params buffer + * from hdcp_tx driver. + */ + +struct HDCP_V2V1_MSG_TOPOLOGY { + /* indicates downstream's type */ + uint32_t ds_type; + uint8_t bksv[5]; + uint8_t dev_count; + uint8_t depth; + uint8_t ksv_list[5 * 127]; + uint32_t max_cascade_exceeded; + uint32_t max_dev_exceeded; +}; + +#endif /* _UAPI__MSM_HDMI_HDCP_MGR_H */ |
