== Series Details == Series: drm/i915/ddi: Fix/simplify port enabling/disabling (rev2) URL : https://patchwork.freedesktop.org/series/144122/ State : warning
== Summary == Error: dim checkpatch failed 9bfd2ee16337 drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro dc37836b346f drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL -:36: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'width' - possible side-effects? #36: FILE: drivers/gpu/drm/i915/i915_reg.h:3642: +#define DDI_PORT_WIDTH(width) (((width) == 3 ? 4 : ((width) - 1)) << 1) total: 0 errors, 0 warnings, 1 checks, 16 lines checked 3493a34a3f10 drm/i915/ddi: Make all the PORT_WIDTH macros work the same way -:26: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'width' - possible side-effects? #26: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h:113: +#define XELPDP_PORT_WIDTH(width) REG_FIELD_PREP(XELPDP_PORT_WIDTH_MASK, \ + ((width) == 3 ? 4 : (width) - 1)) -:27: WARNING:LONG_LINE: line length of 104 exceeds 100 columns #27: FILE: drivers/gpu/drm/i915/display/intel_cx0_phy_regs.h:114: + ((width) == 3 ? 4 : (width) - 1)) total: 0 errors, 1 warnings, 1 checks, 51 lines checked 6897dde621fd drm/i915/ddi: Set missing TC DP PHY lane stagger delay in DDI_BUF_CTL f999b033c705 drm/i915/ddi: Simplify the port enabling via DDI_BUF_CTL 91a0ae5a7035 drm/i915/ddi: Simplify the port disabling via DDI_BUF_CTL fa19fa724090 drm/i915/ddi: Simplify waiting for a port to get active/idle via DDI_BUF_CTL eebacf83cd48 drm/i915/ddi: Move platform checks within mtl_ddi_enable/disable_d2d_link() aab56c07cd06 drm/i915/ddi: Unify the platform specific functions disabling a port b9cef1240ffc drm/i915/ddi: Add a helper to enable a port 7dd87d8a9271 drm/i915/ddi: Sanitize DDI_BUF_CTL register definitions -:50: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'width' - possible side-effects? #50: FILE: drivers/gpu/drm/i915/i915_reg.h:3647: +#define DDI_PORT_WIDTH(width) REG_FIELD_PREP(DDI_PORT_WIDTH_MASK, \ + ((width) == 3 ? 4 : (width) - 1)) total: 0 errors, 0 warnings, 1 checks, 39 lines checked