xref: /linux/drivers/gpu/drm/i915/display/intel_dp_test.h (revision 7f71507851fc7764b36a3221839607d3a45c2025)
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_crtc_state;
10 struct intel_display;
11 struct intel_dp;
12 struct link_config_limits;
13 
14 void intel_dp_test_reset(struct intel_dp *intel_dp);
15 void intel_dp_test_request(struct intel_dp *intel_dp);
16 void intel_dp_test_compute_config(struct intel_dp *intel_dp,
17 				  struct intel_crtc_state *pipe_config,
18 				  struct link_config_limits *limits);
19 bool intel_dp_test_phy(struct intel_dp *intel_dp);
20 bool intel_dp_test_short_pulse(struct intel_dp *intel_dp);
21 void intel_dp_test_debugfs_register(struct intel_display *display);
22 
23 #endif /* __INTEL_DP_TEST_H__ */
24