summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_dp_test.h
blob: a08f37a63dc9aeb11eae8666ba223c8069b5f795 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: MIT */
/* Copyright © 2024 Intel Corporation */

#ifndef __INTEL_DP_TEST_H__
#define __INTEL_DP_TEST_H__

#include <linux/types.h>

struct intel_connector;
struct intel_crtc_state;
struct intel_display;
struct intel_dp;
struct link_config_limits;

void intel_dp_test_reset(struct intel_dp *intel_dp);
void intel_dp_test_request(struct intel_dp *intel_dp);
bool intel_dp_test_compute_config(struct intel_connector *connector,
				  struct intel_crtc_state *pipe_config,
				  struct link_config_limits *limits);
bool intel_dp_test_phy(struct intel_dp *intel_dp);
bool intel_dp_test_short_pulse(struct intel_dp *intel_dp);
void intel_dp_test_debugfs_register(struct intel_display *display);

#endif /* __INTEL_DP_TEST_H__ */