File Index
Files and directories
Sign in
FILE

intel_dp_mst.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/i915/display/intel_dp_mst.h C
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2019 Intel Corporation
 4 */
 5
 6#ifndef __INTEL_DP_MST_H__
 7#define __INTEL_DP_MST_H__
 8
 9#include <linux/types.h>
10
11struct drm_connector_state;
12struct intel_atomic_state;
13struct intel_crtc;
14struct intel_crtc_state;
15struct intel_digital_port;
16struct intel_dp;
17struct intel_link_bw_limits;
18
19int intel_dp_mst_encoder_init(struct intel_digital_port *dig_port, int conn_id);
20void intel_dp_mst_encoder_cleanup(struct intel_digital_port *dig_port);
21int intel_dp_mst_active_streams(struct intel_dp *intel_dp);
22bool intel_dp_mst_is_master_trans(const struct intel_crtc_state *crtc_state);
23bool intel_dp_mst_is_slave_trans(const struct intel_crtc_state *crtc_state);
24bool intel_dp_mst_source_support(struct intel_dp *intel_dp);
25int intel_dp_mst_add_topology_state_for_crtc(struct intel_atomic_state *state,
26					     struct intel_crtc *crtc);
27int intel_dp_mst_atomic_check_link(struct intel_atomic_state *state,
28				   struct intel_link_bw_limits *limits);
29bool intel_dp_mst_crtc_needs_modeset(struct intel_atomic_state *state,
30				     struct intel_crtc *crtc);
31void intel_dp_mst_prepare_probe(struct intel_dp *intel_dp);
32bool intel_dp_mst_verify_dpcd_state(struct intel_dp *intel_dp);
33
34int intel_dp_mtp_tu_compute_config(struct intel_dp *intel_dp,
35				   struct intel_crtc_state *crtc_state,
36				   struct drm_connector_state *conn_state,
37				   int min_bpp_x16, int max_bpp_x16, int bpp_step_x16, bool dsc);
38
39#endif /* __INTEL_DP_MST_H__ */
~/ Read-only file preview.