aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_fdi.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2021-08-18 13:11:09 +0300
committerJani Nikula <jani.nikula@intel.com>2021-08-20 10:29:00 +0300
commit63aef47b3eb52447716b2f2cf69eaca338e3576e (patch)
tree08f1ab157e06f38b51d174100c2428ba703b3e2c /drivers/gpu/drm/i915/display/intel_fdi.h
parentdrm/i915/panel: move intel_panel_use_ssc() out of headers (diff)
downloadlinux-dev-63aef47b3eb52447716b2f2cf69eaca338e3576e.tar.xz
linux-dev-63aef47b3eb52447716b2f2cf69eaca338e3576e.zip
drm/i915/fdi: move intel_fdi_link_freq() to intel_fdi.[ch]
There's no performance reason to have it as static inline; move it out of intel_display_types.h to reduce clutter and dependency on i915_drv.h. 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/8c9bb23d92878deb1ecc75427ec6648bd3505816.1629281426.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_fdi.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_fdi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_fdi.h b/drivers/gpu/drm/i915/display/intel_fdi.h
index af01d2c173a8..fd63a6a53fca 100644
--- a/drivers/gpu/drm/i915/display/intel_fdi.h
+++ b/drivers/gpu/drm/i915/display/intel_fdi.h
@@ -6,12 +6,16 @@
#ifndef _INTEL_FDI_H_
#define _INTEL_FDI_H_
+#include <linux/types.h>
+
struct drm_i915_private;
struct intel_crtc;
struct intel_crtc_state;
struct intel_encoder;
#define I915_DISPLAY_CONFIG_RETRY 1
+u32 intel_fdi_link_freq(struct drm_i915_private *i915,
+ const struct intel_crtc_state *pipe_config);
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);