Contributors: 16
Author Tokens Token Proportion Commits Commit Proportion
Jani Nikula 65 23.21% 11 25.00%
Dave Airlie 65 23.21% 5 11.36%
José Roberto de Souza 36 12.86% 1 2.27%
Maarten Lankhorst 29 10.36% 2 4.55%
Ville Syrjälä 28 10.00% 9 20.45%
Imre Deak 21 7.50% 3 6.82%
Chris Wilson 7 2.50% 3 6.82%
Matt Roper 5 1.79% 1 2.27%
Jesse Barnes 5 1.79% 1 2.27%
Daniel Vetter 5 1.79% 2 4.55%
Eugeni Dodonov 4 1.43% 1 2.27%
Eric Anholt 4 1.43% 1 2.27%
Tvrtko A. Ursulin 2 0.71% 1 2.27%
Clint Taylor 2 0.71% 1 2.27%
Ander Conselvan de Oliveira 1 0.36% 1 2.27%
Chandra Konduru 1 0.36% 1 2.27%
Total 280 44


/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2020 Intel Corporation
 */

#ifndef _INTEL_FDI_H_
#define _INTEL_FDI_H_

#include <linux/types.h>

enum pipe;
struct drm_i915_private;
struct intel_atomic_state;
struct intel_crtc;
struct intel_crtc_state;
struct intel_encoder;
struct intel_link_bw_limits;

int intel_fdi_add_affected_crtcs(struct intel_atomic_state *state);
int intel_fdi_link_freq(struct drm_i915_private *i915,
			const struct intel_crtc_state *pipe_config);
bool intel_fdi_compute_pipe_bpp(struct intel_crtc_state *crtc_state);
int ilk_fdi_compute_config(struct intel_crtc *intel_crtc,
			   struct intel_crtc_state *pipe_config);
int intel_fdi_atomic_check_link(struct intel_atomic_state *state,
				struct intel_link_bw_limits *limits);
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);
void hsw_fdi_disable(struct intel_encoder *encoder);
void intel_fdi_pll_freq_update(struct drm_i915_private *i915);

void intel_fdi_link_train(struct intel_crtc *crtc,
			  const struct intel_crtc_state *crtc_state);

void assert_fdi_tx_enabled(struct drm_i915_private *i915, enum pipe pipe);
void assert_fdi_tx_disabled(struct drm_i915_private *i915, enum pipe pipe);
void assert_fdi_rx_enabled(struct drm_i915_private *i915, enum pipe pipe);
void assert_fdi_rx_disabled(struct drm_i915_private *i915, enum pipe pipe);
void assert_fdi_tx_pll_enabled(struct drm_i915_private *i915, enum pipe pipe);
void assert_fdi_rx_pll_enabled(struct drm_i915_private *i915, enum pipe pipe);
void assert_fdi_rx_pll_disabled(struct drm_i915_private *i915, enum pipe pipe);

#endif