/
usr
/
src
/
linux-headers-5.15.0-181
/
include
/
drm
/
/usr/src/linux-headers-5.15.0-181/include/drm
mkdir
upload
Name
Size
Mode
Actions
bridge/
-
0755
rm
i2c/
-
0755
rm
ttm/
-
0755
rm
amd_asic_type.h
2199
0644
edit
dl
rm
drm_aperture.h
1160
0644
edit
dl
rm
drm_atomic.h
42646
0644
edit
dl
rm
drm_atomic_helper.h
9488
0644
edit
dl
rm
drm_atomic_state_helper.h
4307
0644
edit
dl
rm
drm_atomic_uapi.h
2218
0644
edit
dl
rm
drm_audio_component.h
3879
0644
edit
dl
rm
drm_auth.h
4754
0644
edit
dl
rm
drm_blend.h
2407
0644
edit
dl
rm
drm_bridge.h
34359
0644
edit
dl
rm
drm_bridge_connector.h
548
0644
edit
dl
rm
drm_cache.h
3082
0644
edit
dl
rm
drm_client.h
5056
0644
edit
dl
rm
drm_color_mgmt.h
3910
0644
edit
dl
rm
drm_connector.h
57270
0644
edit
dl
rm
drm_crtc.h
45550
0644
edit
dl
rm
drm_crtc_helper.h
2448
0644
edit
dl
rm
drm_damage_helper.h
3408
0644
edit
dl
rm
drm_debugfs.h
3486
0644
edit
dl
rm
drm_debugfs_crc.h
2723
0644
edit
dl
rm
drm_device.h
8727
0644
edit
dl
rm
drm_displayid.h
3399
0644
edit
dl
rm
drm_dp_aux_bus.h
1740
0644
edit
dl
rm
drm_dp_dual_mode_helper.h
4731
0644
edit
dl
rm
drm_dp_helper.h
89773
0644
edit
dl
rm
drm_dp_mst_helper.h
28721
0644
edit
dl
rm
drm_drv.h
19117
0644
edit
dl
rm
drm_dsc.h
16682
0644
edit
dl
rm
drm_edid.h
17644
0644
edit
dl
rm
drm_encoder.h
10891
0644
edit
dl
rm
drm_encoder_slave.h
6590
0644
edit
dl
rm
drm_fb_cma_helper.h
575
0644
edit
dl
rm
drm_fb_helper.h
13008
0644
edit
dl
rm
drm_file.h
12518
0644
edit
dl
rm
drm_fixed.h
4826
0644
edit
dl
rm
drm_flip_work.h
3080
0644
edit
dl
rm
drm_format_helper.h
1522
0644
edit
dl
rm
drm_fourcc.h
9933
0644
edit
dl
rm
drm_framebuffer.h
10649
0644
edit
dl
rm
drm_gem.h
12082
0644
edit
dl
rm
drm_gem_atomic_helper.h
4718
0644
edit
dl
rm
drm_gem_cma_helper.h
6998
0644
edit
dl
rm
drm_gem_framebuffer_helper.h
2105
0644
edit
dl
rm
drm_gem_shmem_helper.h
8497
0644
edit
dl
rm
drm_gem_ttm_helper.h
861
0644
edit
dl
rm
drm_gem_vram_helper.h
6313
0644
edit
dl
rm
drm_hashtab.h
3083
0644
edit
dl
rm
drm_hdcp.h
9006
0644
edit
dl
rm
drm_ioctl.h
6381
0644
edit
dl
rm
drm_lease.h
1010
0644
edit
dl
rm
drm_legacy.h
9479
0644
edit
dl
rm
drm_managed.h
3426
0644
edit
dl
rm
drm_mipi_dbi.h
4834
0644
edit
dl
rm
drm_mipi_dsi.h
11553
0644
edit
dl
rm
drm_mm.h
17924
0644
edit
dl
rm
drm_modes.h
18616
0644
edit
dl
rm
drm_modeset_helper.h
1814
0644
edit
dl
rm
drm_modeset_helper_vtables.h
57322
0644
edit
dl
rm
drm_modeset_lock.h
6964
0644
edit
dl
rm
drm_mode_config.h
33017
0644
edit
dl
rm
drm_mode_object.h
5294
0644
edit
dl
rm
drm_of.h
4205
0644
edit
dl
rm
drm_panel.h
6408
0644
edit
dl
rm
drm_pciids.h
68070
0644
edit
dl
rm
drm_plane.h
29161
0644
edit
dl
rm
drm_plane_helper.h
1787
0644
edit
dl
rm
drm_prime.h
4168
0644
edit
dl
rm
drm_print.h
18139
0644
edit
dl
rm
drm_probe_helper.h
922
0644
edit
dl
rm
drm_property.h
12042
0644
edit
dl
rm
drm_rect.h
7022
0644
edit
dl
rm
drm_scdc_helper.h
4445
0644
edit
dl
rm
drm_self_refresh_helper.h
594
0644
edit
dl
rm
drm_simple_kms_helper.h
9119
0644
edit
dl
rm
drm_syncobj.h
3943
0644
edit
dl
rm
drm_sysfs.h
442
0644
edit
dl
rm
drm_util.h
2642
0644
edit
dl
rm
drm_utils.h
504
0644
edit
dl
rm
drm_vblank.h
9255
0644
edit
dl
rm
drm_vblank_work.h
1956
0644
edit
dl
rm
drm_vma_manager.h
8343
0644
edit
dl
rm
drm_writeback.h
4150
0644
edit
dl
rm
gma_drm.h
413
0644
edit
dl
rm
gpu_scheduler.h
15814
0644
edit
dl
rm
gud.h
11856
0644
edit
dl
rm
i915_component.h
1805
0644
edit
dl
rm
i915_drm.h
3690
0644
edit
dl
rm
i915_mei_hdcp_interface.h
5899
0644
edit
dl
rm
i915_pciids.h
21821
0644
edit
dl
rm
intel-gtt.h
996
0644
edit
dl
rm
intel_lpe_audio.h
1758
0644
edit
dl
rm
spsc_queue.h
3157
0644
edit
dl
rm
task_barrier.h
3020
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-181/include/drm/i915_mei_hdcp_interface.h
(5899B)
/* SPDX-License-Identifier: (GPL-2.0+) */ /* * Copyright © 2017-2019 Intel Corporation * * Authors: * Ramalingam C <ramalingam.c@intel.com> */ #ifndef _I915_MEI_HDCP_INTERFACE_H_ #define _I915_MEI_HDCP_INTERFACE_H_ #include <linux/mutex.h> #include <linux/device.h> #include <drm/drm_hdcp.h> /** * enum hdcp_port_type - HDCP port implementation type defined by ME FW * @HDCP_PORT_TYPE_INVALID: Invalid hdcp port type * @HDCP_PORT_TYPE_INTEGRATED: In-Host HDCP2.x port * @HDCP_PORT_TYPE_LSPCON: HDCP2.2 discrete wired Tx port with LSPCON * (HDMI 2.0) solution * @HDCP_PORT_TYPE_CPDP: HDCP2.2 discrete wired Tx port using the CPDP (DP 1.3) * solution */ enum hdcp_port_type { HDCP_PORT_TYPE_INVALID, HDCP_PORT_TYPE_INTEGRATED, HDCP_PORT_TYPE_LSPCON, HDCP_PORT_TYPE_CPDP }; /** * enum hdcp_wired_protocol - HDCP adaptation used on the port * @HDCP_PROTOCOL_INVALID: Invalid HDCP adaptation protocol * @HDCP_PROTOCOL_HDMI: HDMI adaptation of HDCP used on the port * @HDCP_PROTOCOL_DP: DP adaptation of HDCP used on the port */ enum hdcp_wired_protocol { HDCP_PROTOCOL_INVALID, HDCP_PROTOCOL_HDMI, HDCP_PROTOCOL_DP }; enum mei_fw_ddi { MEI_DDI_INVALID_PORT = 0x0, MEI_DDI_B = 1, MEI_DDI_C, MEI_DDI_D, MEI_DDI_E, MEI_DDI_F, MEI_DDI_A = 7, MEI_DDI_RANGE_END = MEI_DDI_A, }; /** * enum mei_fw_tc - ME Firmware defined index for transcoders * @MEI_INVALID_TRANSCODER: Index for Invalid transcoder * @MEI_TRANSCODER_EDP: Index for EDP Transcoder * @MEI_TRANSCODER_DSI0: Index for DSI0 Transcoder * @MEI_TRANSCODER_DSI1: Index for DSI1 Transcoder * @MEI_TRANSCODER_A: Index for Transcoder A * @MEI_TRANSCODER_B: Index for Transcoder B * @MEI_TRANSCODER_C: Index for Transcoder C * @MEI_TRANSCODER_D: Index for Transcoder D */ enum mei_fw_tc { MEI_INVALID_TRANSCODER = 0x00, MEI_TRANSCODER_EDP, MEI_TRANSCODER_DSI0, MEI_TRANSCODER_DSI1, MEI_TRANSCODER_A = 0x10, MEI_TRANSCODER_B, MEI_TRANSCODER_C, MEI_TRANSCODER_D }; /** * struct hdcp_port_data - intel specific HDCP port data * @fw_ddi: ddi index as per ME FW * @fw_tc: transcoder index as per ME FW * @port_type: HDCP port type as per ME FW classification * @protocol: HDCP adaptation as per ME FW * @k: No of streams transmitted on a port. Only on DP MST this is != 1 * @seq_num_m: Count of RepeaterAuth_Stream_Manage msg propagated. * Initialized to 0 on AKE_INIT. Incremented after every successful * transmission of RepeaterAuth_Stream_Manage message. When it rolls * over re-Auth has to be triggered. * @streams: struct hdcp2_streamid_type[k]. Defines the type and id for the * streams */ struct hdcp_port_data { enum mei_fw_ddi fw_ddi; enum mei_fw_tc fw_tc; u8 port_type; u8 protocol; u16 k; u32 seq_num_m; struct hdcp2_streamid_type *streams; }; /** * struct i915_hdcp_component_ops- ops for HDCP2.2 services. * @owner: Module providing the ops * @initiate_hdcp2_session: Initiate a Wired HDCP2.2 Tx Session. * And Prepare AKE_Init. * @verify_receiver_cert_prepare_km: Verify the Receiver Certificate * AKE_Send_Cert and prepare AKE_Stored_Km/AKE_No_Stored_Km * @verify_hprime: Verify AKE_Send_H_prime * @store_pairing_info: Store pairing info received * @initiate_locality_check: Prepare LC_Init * @verify_lprime: Verify lprime * @get_session_key: Prepare SKE_Send_Eks * @repeater_check_flow_prepare_ack: Validate the Downstream topology * and prepare rep_ack * @verify_mprime: Verify mprime * @enable_hdcp_authentication: Mark a port as authenticated. * @close_hdcp_session: Close the Wired HDCP Tx session per port. * This also disables the authenticated state of the port. */ struct i915_hdcp_component_ops { /** * @owner: mei_hdcp module */ struct module *owner; int (*initiate_hdcp2_session)(struct device *dev, struct hdcp_port_data *data, struct hdcp2_ake_init *ake_data); int (*verify_receiver_cert_prepare_km)(struct device *dev, struct hdcp_port_data *data, struct hdcp2_ake_send_cert *rx_cert, bool *km_stored, struct hdcp2_ake_no_stored_km *ek_pub_km, size_t *msg_sz); int (*verify_hprime)(struct device *dev, struct hdcp_port_data *data, struct hdcp2_ake_send_hprime *rx_hprime); int (*store_pairing_info)(struct device *dev, struct hdcp_port_data *data, struct hdcp2_ake_send_pairing_info *pairing_info); int (*initiate_locality_check)(struct device *dev, struct hdcp_port_data *data, struct hdcp2_lc_init *lc_init_data); int (*verify_lprime)(struct device *dev, struct hdcp_port_data *data, struct hdcp2_lc_send_lprime *rx_lprime); int (*get_session_key)(struct device *dev, struct hdcp_port_data *data, struct hdcp2_ske_send_eks *ske_data); int (*repeater_check_flow_prepare_ack)(struct device *dev, struct hdcp_port_data *data, struct hdcp2_rep_send_receiverid_list *rep_topology, struct hdcp2_rep_send_ack *rep_send_ack); int (*verify_mprime)(struct device *dev, struct hdcp_port_data *data, struct hdcp2_rep_stream_ready *stream_ready); int (*enable_hdcp_authentication)(struct device *dev, struct hdcp_port_data *data); int (*close_hdcp_session)(struct device *dev, struct hdcp_port_data *data); }; /** * struct i915_hdcp_component_master - Used for communication between i915 * and mei_hdcp drivers for the HDCP2.2 services * @mei_dev: device that provide the HDCP2.2 service from MEI Bus. * @hdcp_ops: Ops implemented by mei_hdcp driver, used by i915 driver. */ struct i915_hdcp_comp_master { struct device *mei_dev; const struct i915_hdcp_component_ops *ops; /* To protect the above members. */ struct mutex mutex; }; #endif /* _I915_MEI_HDCP_INTERFACE_H_ */
Save
cmd:
run