== Series Details == Series: Enable Plane Input CSC for ICL (rev5) URL : https://patchwork.freedesktop.org/series/51463/ State : warning == Summary == $ dim checkpatch origin/drm-tip 0788076afc3f drm/i915/icl: Define Plane Input CSC Coefficient Registers -:58: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #58: FILE: drivers/gpu/drm/i915/i915_reg.h:6602: +#define PLANE_INPUT_CSC_COEFF(pipe, plane, index) \ + _MMIO_PLANE(plane, _PLANE_INPUT_CSC_RY_GY_1(pipe) + (index) * 4, \ + _PLANE_INPUT_CSC_RY_GY_2(pipe) + (index) * 4) -:58: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #58: FILE: drivers/gpu/drm/i915/i915_reg.h:6602: +#define PLANE_INPUT_CSC_COEFF(pipe, plane, index) \ + _MMIO_PLANE(plane, _PLANE_INPUT_CSC_RY_GY_1(pipe) + (index) * 4, \ + _PLANE_INPUT_CSC_RY_GY_2(pipe) + (index) * 4) -:74: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #74: FILE: drivers/gpu/drm/i915/i915_reg.h:6618: +#define PLANE_INPUT_CSC_PREOFF(pipe, plane, index) \ + _MMIO_PLANE(plane, _PLANE_INPUT_CSC_PREOFF_HI_1(pipe) + (index) * 4, \ + _PLANE_INPUT_CSC_PREOFF_HI_2(pipe) + (index) * 4) -:74: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #74: FILE: drivers/gpu/drm/i915/i915_reg.h:6618: +#define PLANE_INPUT_CSC_PREOFF(pipe, plane, index) \ + _MMIO_PLANE(plane, _PLANE_INPUT_CSC_PREOFF_HI_1(pipe) + (index) * 4, \ + _PLANE_INPUT_CSC_PREOFF_HI_2(pipe) + (index) * 4) -:90: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #90: FILE: drivers/gpu/drm/i915/i915_reg.h:6634: +#define PLANE_INPUT_CSC_POSTOFF(pipe, plane, index) \ + _MMIO_PLANE(plane, _PLANE_INPUT_CSC_POSTOFF_HI_1(pipe) + (index) * 4, \ + _PLANE_INPUT_CSC_POSTOFF_HI_2(pipe) + (index) * 4) -:90: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects? #90: FILE: drivers/gpu/drm/i915/i915_reg.h:6634: +#define PLANE_INPUT_CSC_POSTOFF(pipe, plane, index) \ + _MMIO_PLANE(plane, _PLANE_INPUT_CSC_POSTOFF_HI_1(pipe) + (index) * 4, \ + _PLANE_INPUT_CSC_POSTOFF_HI_2(pipe) + (index) * 4) total: 0 errors, 0 warnings, 6 checks, 62 lines checked d14aa7612d93 drm/i915/icl: Enable Plane Input CSC for YUV to RGB Conversion _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx