drm/i915/gt: Pipelined page migration
[linux-2.6-microblaze.git] / drivers / gpu / drm / i915 / display / intel_fdi.h
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 struct intel_encoder;
13
14 #define I915_DISPLAY_CONFIG_RETRY 1
15 int ilk_fdi_compute_config(struct intel_crtc *intel_crtc,
16                            struct intel_crtc_state *pipe_config);
17 void intel_fdi_normal_train(struct intel_crtc *crtc);
18 void ilk_fdi_disable(struct intel_crtc *crtc);
19 void ilk_fdi_pll_disable(struct intel_crtc *intel_crtc);
20 void ilk_fdi_pll_enable(const struct intel_crtc_state *crtc_state);
21 void intel_fdi_init_hook(struct drm_i915_private *dev_priv);
22 void hsw_fdi_link_train(struct intel_encoder *encoder,
23                         const struct intel_crtc_state *crtc_state);
24
25 #endif