diff options
author | Jani Nikula <jani.nikula@intel.com> | 2021-08-18 12:11:08 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2021-08-20 09:28:56 +0200 |
commit | 3c6a4a02c92af14a0325ede88bdbccc0ccd19241 (patch) | |
tree | f44070a10c83aaa5d383d3d073fbfdb46a81f2f2 /drivers/gpu/drm/i915/display/intel_panel.h | |
parent | drm/i915/pm: use forward declaration to remove an include (diff) | |
download | linux-3c6a4a02c92af14a0325ede88bdbccc0ccd19241.tar.xz linux-3c6a4a02c92af14a0325ede88bdbccc0ccd19241.zip |
drm/i915/panel: move intel_panel_use_ssc() out of headers
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/6f2c05005e4fa43a5572b02b3f41363725ffdb4f.1629281426.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_panel.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_panel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_panel.h b/drivers/gpu/drm/i915/display/intel_panel.h index 1d340f77bffc..d638c2b47c92 100644 --- a/drivers/gpu/drm/i915/display/intel_panel.h +++ b/drivers/gpu/drm/i915/display/intel_panel.h @@ -25,6 +25,7 @@ int intel_panel_init(struct intel_panel *panel, void intel_panel_fini(struct intel_panel *panel); enum drm_connector_status intel_panel_detect(struct drm_connector *connector, bool force); +bool intel_panel_use_ssc(struct drm_i915_private *i915); void intel_fixed_panel_mode(const struct drm_display_mode *fixed_mode, struct drm_display_mode *adjusted_mode); int intel_pch_panel_fitting(struct intel_crtc_state *crtc_state, |