Commit a3de31d5 authored by Jani Nikula's avatar Jani Nikula

drm/i915/dpll: hide struct intel_dpll_funcs

The struct is only needed in intel_dpll.c, move it there.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/fedb27386cbad2b162d83a706273dd8ad9e8eed2.1643896905.git.jani.nikula@intel.com
parent 11a1d09c
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
#include "intel_snps_phy.h" #include "intel_snps_phy.h"
#include "vlv_sideband.h" #include "vlv_sideband.h"
struct intel_dpll_funcs {
int (*crtc_compute_clock)(struct intel_crtc_state *crtc_state);
};
struct intel_limit { struct intel_limit {
struct { struct {
int min, max; int min, max;
......
...@@ -119,6 +119,7 @@ struct intel_color_funcs; ...@@ -119,6 +119,7 @@ struct intel_color_funcs;
struct intel_connector; struct intel_connector;
struct intel_crtc; struct intel_crtc;
struct intel_dp; struct intel_dp;
struct intel_dpll_funcs;
struct intel_encoder; struct intel_encoder;
struct intel_fbdev; struct intel_fbdev;
struct intel_fdi_funcs; struct intel_fdi_funcs;
...@@ -323,10 +324,6 @@ struct drm_i915_wm_disp_funcs { ...@@ -323,10 +324,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_dpll_funcs {
int (*crtc_compute_clock)(struct intel_crtc_state *crtc_state);
};
struct drm_i915_display_funcs { struct drm_i915_display_funcs {
/* Returns the active state of the crtc, and if the crtc is active, /* Returns the active state of the crtc, and if the crtc is active,
* fills out the pipe-config with the hw state. */ * fills out the pipe-config with the hw state. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment