Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
fork
Configure Feed
Select the types of activity you want to include in your feed.
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2019 Intel Corporation
4 */
5
6#ifndef __INTEL_HDCP_H__
7#define __INTEL_HDCP_H__
8
9#include <linux/types.h>
10
11struct drm_connector;
12struct drm_connector_state;
13struct drm_i915_private;
14struct intel_connector;
15struct intel_crtc_state;
16struct intel_encoder;
17struct intel_hdcp_shim;
18enum port;
19enum transcoder;
20
21void intel_hdcp_atomic_check(struct drm_connector *connector,
22 struct drm_connector_state *old_state,
23 struct drm_connector_state *new_state);
24int intel_hdcp_init(struct intel_connector *connector,
25 const struct intel_hdcp_shim *hdcp_shim);
26int intel_hdcp_enable(struct intel_connector *connector,
27 enum transcoder cpu_transcoder, u8 content_type);
28int intel_hdcp_disable(struct intel_connector *connector);
29void intel_hdcp_update_pipe(struct intel_encoder *encoder,
30 const struct intel_crtc_state *crtc_state,
31 const struct drm_connector_state *conn_state);
32bool is_hdcp_supported(struct drm_i915_private *dev_priv, enum port port);
33bool intel_hdcp_capable(struct intel_connector *connector);
34bool intel_hdcp2_capable(struct intel_connector *connector);
35void intel_hdcp_component_init(struct drm_i915_private *dev_priv);
36void intel_hdcp_component_fini(struct drm_i915_private *dev_priv);
37void intel_hdcp_cleanup(struct intel_connector *connector);
38void intel_hdcp_handle_cp_irq(struct intel_connector *connector);
39
40#endif /* __INTEL_HDCP_H__ */