drm/i915/fdi: hide struct intel_fdi_funcs

The struct is only needed in intel_fdi.c, move it there.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a6c524a9abb74be9b4d6a084de5461404b823a10.1643896905.git.jani.nikula@intel.com
This commit is contained in:
Jani Nikula 2022-02-03 16:02:30 +02:00
parent 7e97596c74
commit 91cb1e1178
2 changed files with 6 additions and 5 deletions

View File

@ -10,6 +10,11 @@
#include "intel_display_types.h" #include "intel_display_types.h"
#include "intel_fdi.h" #include "intel_fdi.h"
struct intel_fdi_funcs {
void (*fdi_link_train)(struct intel_crtc *crtc,
const struct intel_crtc_state *crtc_state);
};
static void assert_fdi_tx(struct drm_i915_private *dev_priv, static void assert_fdi_tx(struct drm_i915_private *dev_priv,
enum pipe pipe, bool state) enum pipe pipe, bool state)
{ {

View File

@ -121,6 +121,7 @@ struct intel_crtc;
struct intel_dp; struct intel_dp;
struct intel_encoder; struct intel_encoder;
struct intel_fbdev; struct intel_fbdev;
struct intel_fdi_funcs;
struct intel_hotplug_funcs; struct intel_hotplug_funcs;
struct intel_initial_plane_config; struct intel_initial_plane_config;
struct intel_limit; struct intel_limit;
@ -322,11 +323,6 @@ struct drm_i915_wm_disp_funcs {
int (*compute_global_watermarks)(struct intel_atomic_state *state); int (*compute_global_watermarks)(struct intel_atomic_state *state);
}; };
struct intel_fdi_funcs {
void (*fdi_link_train)(struct intel_crtc *crtc,
const struct intel_crtc_state *crtc_state);
};
struct intel_dpll_funcs { struct intel_dpll_funcs {
int (*crtc_compute_clock)(struct intel_crtc_state *crtc_state); int (*crtc_compute_clock)(struct intel_crtc_state *crtc_state);
}; };