== Series Details == Series: Introduce drm scaling filter property (rev9) URL : https://patchwork.freedesktop.org/series/73883/ State : warning == Summary == $ dim checkpatch origin/drm-tip c6a6d43c122d drm: Introduce plane and CRTC scaling filter properties 91954a6df9a7 drm/i915: Introduce scaling filter related registers and bit fields -:75: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects? #75: FILE: drivers/gpu/drm/i915/i915_reg.h:7506: +#define CNL_PS_COEF_INDEX_SET(pipe, id, set) _MMIO_PIPE(pipe, \ + _ID(id, _PS_COEF_SET0_INDEX_1A, _PS_COEF_SET0_INDEX_2A) + (set) * 8, \ + _ID(id, _PS_COEF_SET0_INDEX_1B, _PS_COEF_SET0_INDEX_2B) + (set) * 8) -:75: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'set' - possible side-effects? #75: FILE: drivers/gpu/drm/i915/i915_reg.h:7506: +#define CNL_PS_COEF_INDEX_SET(pipe, id, set) _MMIO_PIPE(pipe, \ + _ID(id, _PS_COEF_SET0_INDEX_1A, _PS_COEF_SET0_INDEX_2A) + (set) * 8, \ + _ID(id, _PS_COEF_SET0_INDEX_1B, _PS_COEF_SET0_INDEX_2B) + (set) * 8) -:79: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id' - possible side-effects? #79: FILE: drivers/gpu/drm/i915/i915_reg.h:7510: +#define CNL_PS_COEF_DATA_SET(pipe, id, set) _MMIO_PIPE(pipe, \ + _ID(id, _PS_COEF_SET0_DATA_1A, _PS_COEF_SET0_DATA_2A) + (set) * 8, \ + _ID(id, _PS_COEF_SET0_DATA_1B, _PS_COEF_SET0_DATA_2B) + (set) * 8) -:79: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'set' - possible side-effects? #79: FILE: drivers/gpu/drm/i915/i915_reg.h:7510: +#define CNL_PS_COEF_DATA_SET(pipe, id, set) _MMIO_PIPE(pipe, \ + _ID(id, _PS_COEF_SET0_DATA_1A, _PS_COEF_SET0_DATA_2A) + (set) * 8, \ + _ID(id, _PS_COEF_SET0_DATA_1B, _PS_COEF_SET0_DATA_2B) + (set) * 8) total: 0 errors, 0 warnings, 4 checks, 47 lines checked f990bc408fd1 drm/i915/display: Add Nearest-neighbor based integer scaling support 4dfda23b3a73 drm/i915: Enable scaling filter for plane and CRTC -:100: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #100: FILE: drivers/gpu/drm/i915/display/intel_display.c:17072: + drm_crtc_create_scaling_filter_property(&crtc->base, + BIT(DRM_SCALING_FILTER_DEFAULT) | -:160: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #160: FILE: drivers/gpu/drm/i915/display/intel_sprite.c:3216: + drm_plane_create_scaling_filter_property(&plane->base, + BIT(DRM_SCALING_FILTER_DEFAULT) | total: 0 errors, 0 warnings, 2 checks, 104 lines checked _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx