Daniel asked for this, but it's a bit messy and I'm not sure how best to clean it up yet. Signed-off-by: Dave Airlie <airlied@redhat.com> [Jani: also moved fdi buf trans to intel_fdi.c.] Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/44491f2465549ea5c2e48cde5437fa232f77ab96.1612467466.git.jani.nikula@intel.com
26 lines
755 B
C
26 lines
755 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2020 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_FDI_H_
|
|
#define _INTEL_FDI_H_
|
|
|
|
struct drm_i915_private;
|
|
struct intel_crtc;
|
|
struct intel_crtc_state;
|
|
struct intel_encoder;
|
|
|
|
#define I915_DISPLAY_CONFIG_RETRY 1
|
|
int ilk_fdi_compute_config(struct intel_crtc *intel_crtc,
|
|
struct intel_crtc_state *pipe_config);
|
|
void intel_fdi_normal_train(struct intel_crtc *crtc);
|
|
void ilk_fdi_disable(struct intel_crtc *crtc);
|
|
void ilk_fdi_pll_disable(struct intel_crtc *intel_crtc);
|
|
void ilk_fdi_pll_enable(const struct intel_crtc_state *crtc_state);
|
|
void intel_fdi_init_hook(struct drm_i915_private *dev_priv);
|
|
void hsw_fdi_link_train(struct intel_encoder *encoder,
|
|
const struct intel_crtc_state *crtc_state);
|
|
|
|
#endif
|