drm/hdcp: update content protection property with uevent
[sfrench/cifs-2.6.git] / include / drm / drm_hdcp.h
index 13771a496e2b7d9c0abee98524ca2b4e23a8addf..06a11202a0976d80d660eebd229f0e7c048e54c5 100644 (file)
@@ -291,5 +291,12 @@ struct drm_connector;
 bool drm_hdcp_check_ksvs_revoked(struct drm_device *dev,
                                 u8 *ksvs, u32 ksv_count);
 int drm_connector_attach_content_protection_property(
-               struct drm_connector *connector);
+               struct drm_connector *connector, bool hdcp_content_type);
+void drm_hdcp_update_content_protection(struct drm_connector *connector,
+                                       u64 val);
+
+/* Content Type classification for HDCP2.2 vs others */
+#define DRM_MODE_HDCP_CONTENT_TYPE0            0
+#define DRM_MODE_HDCP_CONTENT_TYPE1            1
+
 #endif