Linux Audio

Check our new training course

Loading...
v5.14.15
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2020 Intel Corporation
 4 */
 5
 6#ifndef _INTEL_FDI_H_
 7#define _INTEL_FDI_H_
 8
 
 9struct drm_i915_private;
10struct intel_crtc;
11struct intel_crtc_state;
12struct intel_encoder;
13
14#define I915_DISPLAY_CONFIG_RETRY 1
 
15int ilk_fdi_compute_config(struct intel_crtc *intel_crtc,
16			   struct intel_crtc_state *pipe_config);
17void intel_fdi_normal_train(struct intel_crtc *crtc);
18void ilk_fdi_disable(struct intel_crtc *crtc);
19void ilk_fdi_pll_disable(struct intel_crtc *intel_crtc);
20void ilk_fdi_pll_enable(const struct intel_crtc_state *crtc_state);
21void intel_fdi_init_hook(struct drm_i915_private *dev_priv);
22void hsw_fdi_link_train(struct intel_encoder *encoder,
23			const struct intel_crtc_state *crtc_state);
 
 
 
 
 
 
 
 
 
 
 
 
 
24
25#endif
v6.2
 1/* SPDX-License-Identifier: MIT */
 2/*
 3 * Copyright © 2020 Intel Corporation
 4 */
 5
 6#ifndef _INTEL_FDI_H_
 7#define _INTEL_FDI_H_
 8
 9enum pipe;
10struct drm_i915_private;
11struct intel_crtc;
12struct intel_crtc_state;
13struct intel_encoder;
14
15int intel_fdi_link_freq(struct drm_i915_private *i915,
16			const struct intel_crtc_state *pipe_config);
17int ilk_fdi_compute_config(struct intel_crtc *intel_crtc,
18			   struct intel_crtc_state *pipe_config);
19void intel_fdi_normal_train(struct intel_crtc *crtc);
20void ilk_fdi_disable(struct intel_crtc *crtc);
21void ilk_fdi_pll_disable(struct intel_crtc *intel_crtc);
22void ilk_fdi_pll_enable(const struct intel_crtc_state *crtc_state);
23void intel_fdi_init_hook(struct drm_i915_private *dev_priv);
24void hsw_fdi_link_train(struct intel_encoder *encoder,
25			const struct intel_crtc_state *crtc_state);
26void hsw_fdi_disable(struct intel_encoder *encoder);
27void intel_fdi_pll_freq_update(struct drm_i915_private *i915);
28
29void intel_fdi_link_train(struct intel_crtc *crtc,
30			  const struct intel_crtc_state *crtc_state);
31
32void assert_fdi_tx_enabled(struct drm_i915_private *i915, enum pipe pipe);
33void assert_fdi_tx_disabled(struct drm_i915_private *i915, enum pipe pipe);
34void assert_fdi_rx_enabled(struct drm_i915_private *i915, enum pipe pipe);
35void assert_fdi_rx_disabled(struct drm_i915_private *i915, enum pipe pipe);
36void assert_fdi_tx_pll_enabled(struct drm_i915_private *i915, enum pipe pipe);
37void assert_fdi_rx_pll_enabled(struct drm_i915_private *i915, enum pipe pipe);
38void assert_fdi_rx_pll_disabled(struct drm_i915_private *i915, enum pipe pipe);
39
40#endif