[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Enable Nearest-neighbor for Integer mode scaling
Patchwork
patchwork at emeril.freedesktop.org
Tue Sep 3 17:05:37 UTC 2019
== Series Details ==
Series: Enable Nearest-neighbor for Integer mode scaling
URL : https://patchwork.freedesktop.org/series/66175/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
705e07a4f105 drm/i915: Indicate integer up-scaling ratios
d3324b2f0df9 drm/i915: Pick nearest-neighbor mode for integer scaling ratios
-:180: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects?
#180: FILE: drivers/gpu/drm/i915/i915_reg.h:7210:
+#define SKL_PS_COEF_DATA_SET0(pipe, id) _MMIO_PIPE(pipe, \
+ _ID(id, _PS_COEF_SET0_DATA_1A, _PS_COEF_SET0_DATA_2A), \
+ _ID(id, _PS_COEF_SET0_DATA_1B, _PS_COEF_SET0_DATA_1B))
-:183: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects?
#183: FILE: drivers/gpu/drm/i915/i915_reg.h:7213:
+#define SKL_PS_COEF_DATA_SET1(pipe, id) _MMIO_PIPE(pipe, \
+ _ID(id, _PS_COEF_SET1_DATA_1A, _PS_COEF_SET1_DATA_2A), \
+ _ID(id, _PS_COEF_SET1_DATA_1B, _PS_COEF_SET1_DATA_1B))
-:186: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects?
#186: FILE: drivers/gpu/drm/i915/i915_reg.h:7216:
+#define SKL_PS_COEF_INDEX_SET0(pipe, id) _MMIO_PIPE(pipe, \
+ _ID(id, _PS_COEF_SET0_INDEX_1A, _PS_COEF_SET0_INDEX_2A), \
+ _ID(id, _PS_COEF_SET0_INDEX_1B, _PS_COEF_SET0_INDEX_1B))
-:189: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects?
#189: FILE: drivers/gpu/drm/i915/i915_reg.h:7219:
+#define SKL_PS_COEF_INDEX_SET1(pipe, id) _MMIO_PIPE(pipe, \
+ _ID(id, _PS_COEF_SET1_INDEX_1A, _PS_COEF_SET1_INDEX_2A), \
+ _ID(id, _PS_COEF_SET1_INDEX_1B, _PS_COEF_SET1_INDEX_1B))
total: 0 errors, 0 warnings, 4 checks, 150 lines checked
More information about the Intel-gfx
mailing list