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