mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 18:14:07 +08:00
drm/i915/display: remove useless use of inline
skl_scaler_get_filter_select() isn't static and can't be inline. 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/20210113143726.19701-1-jani.nikula@intel.com
This commit is contained in:
parent
67fba3f1c7
commit
702c08d6d0
@ -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);
|
||||
}
|
||||
|
||||
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) {
|
||||
return (PS_FILTER_PROGRAMMED |
|
||||
|
Loading…
Reference in New Issue
Block a user