OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67fba3f
)
drm/i915/display: remove useless use of inline
author
Jani Nikula
<jani.nikula@intel.com>
Wed, 13 Jan 2021 14:37:26 +0000
(16:37 +0200)
committer
Jani Nikula
<jani.nikula@intel.com>
Thu, 14 Jan 2021 07:54:05 +0000
(09:54 +0200)
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
drivers/gpu/drm/i915/display/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/display/intel_display.c
b/drivers/gpu/drm/i915/display/intel_display.c
index
0189d37
..
cf9860f
100644
(file)
--- a/
drivers/gpu/drm/i915/display/intel_display.c
+++ b/
drivers/gpu/drm/i915/display/intel_display.c
@@
-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 |