Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include/drm i915_mei_hdcp_interface.h ...
details: https://anonhg.NetBSD.org/src/rev/ee55f61a3f37
branches: trunk
changeset: 1028429:ee55f61a3f37
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:02:05 2021 +0000
description:
i915_mei_hdcp_interface.h from openbsd
Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/include/drm/i915_mei_hdcp_interface.h | 50 +++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
diffs (54 lines):
diff -r 713cebe19175 -r ee55f61a3f37 sys/external/bsd/drm2/include/drm/i915_mei_hdcp_interface.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/bsd/drm2/include/drm/i915_mei_hdcp_interface.h Sun Dec 19 11:02:05 2021 +0000
@@ -0,0 +1,50 @@
+/* Public domain. */
+
+#ifndef _I915_MEI_HDCP_INTERFACE_H_
+#define _I915_MEI_HDCP_INTERFACE_H_
+
+#include <drm/drm_hdcp.h>
+
+enum hdcp_wired_protocol {
+ HDCP_PROTOCOL_INVALID,
+ HDCP_PROTOCOL_HDMI,
+ HDCP_PROTOCOL_DP
+};
+
+struct hdcp_port_data {
+ struct hdcp2_streamid_type *streams;
+ uint32_t seq_num_m;
+};
+
+struct i915_hdcp_component_ops {
+ int (*initiate_hdcp2_session)(struct device *, struct hdcp_port_data *,
+ struct hdcp2_ake_init *);
+ int (*verify_receiver_cert_prepare_km)(struct device *,
+ struct hdcp_port_data *, struct hdcp2_ake_send_cert *, bool *,
+ struct hdcp2_ake_no_stored_km *, size_t *);
+ int (*verify_hprime)(struct device *, struct hdcp_port_data *,
+ struct hdcp2_ake_send_hprime *);
+ int (*store_pairing_info)(struct device *, struct hdcp_port_data *,
+ struct hdcp2_ake_send_pairing_info *);
+ int (*initiate_locality_check)(struct device *, struct hdcp_port_data *,
+ struct hdcp2_lc_init *);
+ int (*verify_lprime)(struct device *, struct hdcp_port_data *,
+ struct hdcp2_lc_send_lprime *);
+ int (*get_session_key)(struct device *, struct hdcp_port_data *,
+ struct hdcp2_ske_send_eks *);
+ int (*repeater_check_flow_prepare_ack)(struct device *,
+ struct hdcp_port_data *, struct hdcp2_rep_send_receiverid_list *,
+ struct hdcp2_rep_send_ack *);
+ int (*verify_mprime)(struct device *, struct hdcp_port_data *,
+ struct hdcp2_rep_stream_ready *);
+ int (*enable_hdcp_authentication)(struct device *,
+ struct hdcp_port_data *);
+ int (*close_hdcp_session)(struct device *, struct hdcp_port_data *);
+};
+
+struct i915_hdcp_comp_master {
+ void *mei_dev;
+ const struct i915_hdcp_component_ops *ops;
+};
+
+#endif
Home |
Main Index |
Thread Index |
Old Index