1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright (C) 2017 Google, Inc.
4  *
5  * Authors:
6  * Sean Paul <seanpaul@chromium.org>
7  */
8 
9 #ifndef _DRM_HDCP_HELPER_H_INCLUDED_
10 #define _DRM_HDCP_HELPER_H_INCLUDED_
11 
12 #include <drm/display/drm_hdcp.h>
13 
14 struct drm_device;
15 struct drm_connector;
16 
17 int drm_hdcp_check_ksvs_revoked(struct drm_device *dev, u8 *ksvs, u32 ksv_count);
18 int drm_connector_attach_content_protection_property(struct drm_connector *connector,
19 						     bool hdcp_content_type);
20 void drm_hdcp_update_content_protection(struct drm_connector *connector, u64 val);
21 
22 #endif
23