summaryrefslogtreecommitdiffstats
path: root/include/drm/display/drm_hdcp_helper.h
blob: 8aaf87bf27351def7258574e869b7e7b29a57aca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: MIT */
/*
 * Copyright (C) 2017 Google, Inc.
 *
 * Authors:
 * Sean Paul <seanpaul@chromium.org>
 */

#ifndef _DRM_HDCP_HELPER_H_INCLUDED_
#define _DRM_HDCP_HELPER_H_INCLUDED_

#include <drm/display/drm_hdcp.h>

struct drm_device;
struct drm_connector;

int 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,
						     bool hdcp_content_type);
void drm_hdcp_update_content_protection(struct drm_connector *connector, u64 val);

#endif