mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00:00

Abstract more DP test stuff. Now the only place touching intel_dp->compliance is intel_dp_test.c. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/ea2ad218bdba21be30bd15a3707663508518dfa5.1726833193.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
24 lines
720 B
C
24 lines
720 B
C
/* SPDX-License-Identifier: MIT */
|
|
/* Copyright © 2024 Intel Corporation */
|
|
|
|
#ifndef __INTEL_DP_TEST_H__
|
|
#define __INTEL_DP_TEST_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
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);
|
|
void intel_dp_test_compute_config(struct intel_dp *intel_dp,
|
|
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__ */
|