== Series Details == Series: drm/i915: Plane register cleanup URL : https://patchwork.freedesktop.org/series/97467/ State : warning == Summary == $ dim checkpatch origin/drm-tip 2a489c8cf0ae drm/i915: Get rid of the 64bit PLANE_CC_VAL mmio -:69: WARNING:LONG_LINE: line length of 102 exceeds 100 columns #69: FILE: drivers/gpu/drm/i915/i915_reg.h:7368: +#define _PLANE_CC_VAL_1(pipe, dw) (_PIPE(pipe, _PLANE_CC_VAL_1_A, _PLANE_CC_VAL_1_B) + (dw) * 4) -:70: WARNING:LONG_LINE: line length of 102 exceeds 100 columns #70: FILE: drivers/gpu/drm/i915/i915_reg.h:7369: +#define _PLANE_CC_VAL_2(pipe, dw) (_PIPE(pipe, _PLANE_CC_VAL_2_A, _PLANE_CC_VAL_2_B) + (dw) * 4) -:71: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pipe' - possible side-effects? #71: FILE: drivers/gpu/drm/i915/i915_reg.h:7370: +#define PLANE_CC_VAL(pipe, plane, dw) \ + _MMIO_PLANE((plane), _PLANE_CC_VAL_1((pipe), (dw)), _PLANE_CC_VAL_2((pipe), (dw))) -:71: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dw' - possible side-effects? #71: FILE: drivers/gpu/drm/i915/i915_reg.h:7370: +#define PLANE_CC_VAL(pipe, plane, dw) \ + _MMIO_PLANE((plane), _PLANE_CC_VAL_1((pipe), (dw)), _PLANE_CC_VAL_2((pipe), (dw))) total: 0 errors, 2 warnings, 2 checks, 41 lines checked cace02264ed4 drm/i915: Rename plane YUV order bits fd4e986084c5 drm/i915: Get rid of the "sizes are 0 based" stuff fb774f7bdbf7 drm/i915: Sipmplify PLANE_STRIDE masking 0ae6611ab3f7 drm/i915: Rename PLANE_CUS_CTL Y plane bits f2f7a1963976 drm/i915: Use REG_BIT() & co. for universal plane bits 08836e799b35 drm/i915: Clean up pre-skl primary plane registers b7bd2fa19c5d drm/i915: Clean up ivb+ sprite plane registers -:114: WARNING:LONG_LINE_COMMENT: line length of 106 exceeds 100 columns #114: FILE: drivers/gpu/drm/i915/i915_reg.h:7058: +#define SPRITE_FORMAT_XR_BGR101010 REG_FIELD_PREP(SPRITE_FORMAT_MASK, 5) /* Extended range */ total: 0 errors, 1 warnings, 0 checks, 150 lines checked b2a43d32eb81 drm/i915: Clean up vlv/chv sprite plane registers e86cd1d175b5 drm/i915: Clean up g4x+ sprite plane registers f5a56e525f98 drm/i915: Clean up cursor registers -:144: WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns #144: FILE: drivers/gpu/drm/i915/i915_reg.h:6767: +#define CURSOR_STRIDE(stride) REG_FIELD_PREP(CURSOR_STRIDE_MASK, ffs(stride) - 9) /* 256,512,1k,2k */ total: 0 errors, 1 warnings, 0 checks, 182 lines checked 0008f4a39e22 drm/i915: Extract skl_plane_aux_dist() 79283225eb38 drm/i915: Declutter color key register stuff 7f07412a683b drm/i915: Nuke pointless middle men for skl+ plane programming