xref: /linux/drivers/gpu/drm/i915/display/intel_dp_test.h (revision 570f7e331f5febb30f1384817463c7e42b65ca7d)
1 /* SPDX-License-Identifier: MIT */
2 /* Copyright © 2024 Intel Corporation */
3 
4 #ifndef __INTEL_DP_TEST_H__
5 #define __INTEL_DP_TEST_H__
6 
7 #include <linux/types.h>
8 
9 struct intel_connector;
10 struct intel_crtc_state;
11 struct intel_display;
12 struct intel_dp;
13 struct link_config_limits;
14 
15 void intel_dp_test_reset(struct intel_dp *intel_dp);
16 void intel_dp_test_request(struct intel_dp *intel_dp);
17 bool intel_dp_test_compute_config(struct intel_connector *connector,
18 				  struct intel_crtc_state *pipe_config,
19 				  struct link_config_limits *limits);
20 bool intel_dp_test_phy(struct intel_dp *intel_dp);
21 bool intel_dp_test_short_pulse(struct intel_dp *intel_dp);
22 void intel_dp_test_debugfs_register(struct intel_display *display);
23 
24 #endif /* __INTEL_DP_TEST_H__ */
25