xref: /linux/drivers/gpu/drm/i915/display/intel_dp_mst.h (revision e5a52fd2b8cdb700b3c07b030e050a49ef3156b9)
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 
11 struct intel_digital_port;
12 struct intel_crtc_state;
13 
14 int intel_dp_mst_encoder_init(struct intel_digital_port *intel_dig_port, int conn_id);
15 void intel_dp_mst_encoder_cleanup(struct intel_digital_port *intel_dig_port);
16 int intel_dp_mst_encoder_active_links(struct intel_digital_port *intel_dig_port);
17 bool intel_dp_mst_is_master_trans(const struct intel_crtc_state *crtc_state);
18 bool intel_dp_mst_is_slave_trans(const struct intel_crtc_state *crtc_state);
19 
20 #endif /* __INTEL_DP_MST_H__ */
21