Commit 702c08d6 authored by Jani Nikula's avatar Jani Nikula

drm/i915/display: remove useless use of inline

skl_scaler_get_filter_select() isn't static and can't be inline.
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210113143726.19701-1-jani.nikula@intel.com
parent 67fba3f1
...@@ -5810,7 +5810,7 @@ static void cnl_program_nearest_filter_coefs(struct drm_i915_private *dev_priv, ...@@ -5810,7 +5810,7 @@ static void cnl_program_nearest_filter_coefs(struct drm_i915_private *dev_priv,
intel_de_write_fw(dev_priv, CNL_PS_COEF_INDEX_SET(pipe, id, set), 0); intel_de_write_fw(dev_priv, CNL_PS_COEF_INDEX_SET(pipe, id, set), 0);
} }
inline u32 skl_scaler_get_filter_select(enum drm_scaling_filter filter, int set) u32 skl_scaler_get_filter_select(enum drm_scaling_filter filter, int set)
{ {
if (filter == DRM_SCALING_FILTER_NEAREST_NEIGHBOR) { if (filter == DRM_SCALING_FILTER_NEAREST_NEIGHBOR) {
return (PS_FILTER_PROGRAMMED | return (PS_FILTER_PROGRAMMED |
......
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