2019-04-29 20:29:33 +08:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2019 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_DP_MST_H__
|
|
|
|
#define __INTEL_DP_MST_H__
|
|
|
|
|
2019-12-23 09:06:49 +08:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2019-08-06 18:07:26 +08:00
|
|
|
struct intel_digital_port;
|
2019-12-23 09:06:49 +08:00
|
|
|
struct intel_crtc_state;
|
2019-04-29 20:29:33 +08:00
|
|
|
|
|
|
|
int intel_dp_mst_encoder_init(struct intel_digital_port *intel_dig_port, int conn_id);
|
|
|
|
void intel_dp_mst_encoder_cleanup(struct intel_digital_port *intel_dig_port);
|
2019-08-06 18:07:26 +08:00
|
|
|
int intel_dp_mst_encoder_active_links(struct intel_digital_port *intel_dig_port);
|
2019-12-23 09:06:49 +08:00
|
|
|
bool intel_dp_mst_is_master_trans(const struct intel_crtc_state *crtc_state);
|
|
|
|
bool intel_dp_mst_is_slave_trans(const struct intel_crtc_state *crtc_state);
|
2019-04-29 20:29:33 +08:00
|
|
|
|
|
|
|
#endif /* __INTEL_DP_MST_H__ */
|