1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020 Intel Corporation
4  */
5 
6 #ifndef _INTEL_FDI_H_
7 #define _INTEL_FDI_H_
8 
9 struct drm_i915_private;
10 struct intel_crtc;
11 struct intel_crtc_state;
12 
13 #define I915_DISPLAY_CONFIG_RETRY 1
14 int ilk_fdi_compute_config(struct intel_crtc *intel_crtc,
15 			   struct intel_crtc_state *pipe_config);
16 void intel_fdi_normal_train(struct intel_crtc *crtc);
17 void ilk_fdi_disable(struct intel_crtc *crtc);
18 void ilk_fdi_pll_disable(struct intel_crtc *intel_crtc);
19 void ilk_fdi_pll_enable(const struct intel_crtc_state *crtc_state);
20 void intel_fdi_init_hook(struct drm_i915_private *dev_priv);
21 
22 #endif
23