[RFC v1 05/20] drm/hdcp: HDCP status code for DRM HDCP stack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HDCP status code is defined. this will be used as a return value
of the service function of HDCP to indicate the hdcp status

Signed-off-by: Ramalingam C <ramalingam.c@xxxxxxxxx>
---
 include/drm/drm_hdcp.h | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/include/drm/drm_hdcp.h b/include/drm/drm_hdcp.h
index 92fd933..bf77d37 100644
--- a/include/drm/drm_hdcp.h
+++ b/include/drm/drm_hdcp.h
@@ -37,6 +37,26 @@ struct drm_connector;
 #define HDCP_2_2_SUPPORT			(1<<1)
 
 /**
+ * @enum hdcp_status Enumeration of all HDCP Status Codes
+ */
+enum hdcp_status {
+	HDCP_STATUS_SUCCESS = 0,
+	HDCP_STATUS_UNKNOWN_ERROR,
+	HDCP_STATUS_INVALID_PARAMS,
+	HDCP_SRM_VERIFICATION_FAILED,
+	HDCP_SRM_VERSION_TOO_OLD,
+	HDCP_RX_CERT_VERIFICATION_FAILED,
+	HDCP_RX_REVOKED,
+	HDCP_H_VERIFICATION_FAILED,
+	HDCP_TOPOLOGY_MAX_EXCEEDED,
+	HDCP_V_VERIFICATION_FAILED,
+	HDCP_L_VERIFICATION_FAILED,
+	HDCP_STREAM_KEY_ALLOC_FAILED,
+	HDCP_STATUS_LC_MAX_ATTEMPTS,
+	HDCP_STATUS_MISMATCH_IN_M,
+};
+
+/**
  * wired_protocol: Supported integrated wired HDCP protocol.
  * Based on this value, Minor differenceneeded between wired specifications
  * are handled.
-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux