✗ Fi.CI.CHECKPATCH: warning for drm/i915/color: first batch of implicit dev_priv removals

Patchwork patchwork at emeril.freedesktop.org
Mon Apr 29 15:11:53 UTC 2024


== Series Details ==

Series: drm/i915/color: first batch of implicit dev_priv removals
URL   : https://patchwork.freedesktop.org/series/133024/
State : warning

== Summary ==

Error: dim checkpatch failed
7712a3285dd7 drm/i915: pass dev_priv explicitly to PALETTE
-:98: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#98: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:33:
+#define PALETTE(dev_priv, pipe, i) _MMIO(DISPLAY_MMIO_BASE(dev_priv) +			\
 			       _PICK_EVEN_2RANGES(pipe, 2,			\
 						  _PALETTE_A, _PALETTE_B,	\
 						  _CHV_PALETTE_C, _CHV_PALETTE_C) + \

total: 1 errors, 0 warnings, 0 checks, 75 lines checked
8acf5c50fb14 drm/i915: pass dev_priv explicitly to PIPE_WGC_C01_C00
-:43: WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#43: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:259:
+#define PIPE_WGC_C01_C00(dev_priv, pipe)		_MMIO_TRANS2(dev_priv, pipe, _PIPE_A_WGC_C01_C00)

total: 0 errors, 1 warnings, 0 checks, 24 lines checked
311434476c08 drm/i915: pass dev_priv explicitly to PIPE_WGC_C02
80a45f180599 drm/i915: pass dev_priv explicitly to PIPE_WGC_C11_C10
-:43: WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#43: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:261:
+#define PIPE_WGC_C11_C10(dev_priv, pipe)		_MMIO_TRANS2(dev_priv, pipe, _PIPE_A_WGC_C11_C10)

total: 0 errors, 1 warnings, 0 checks, 24 lines checked
0ce7cd6fe93f drm/i915: pass dev_priv explicitly to PIPE_WGC_C12
fd2d5fbcf7c4 drm/i915: pass dev_priv explicitly to PIPE_WGC_C21_C20
-:43: WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#43: FILE: drivers/gpu/drm/i915/display/intel_color_regs.h:263:
+#define PIPE_WGC_C21_C20(dev_priv, pipe)		_MMIO_TRANS2(dev_priv, pipe, _PIPE_A_WGC_C21_C20)

total: 0 errors, 1 warnings, 0 checks, 24 lines checked
11310613228d drm/i915: pass dev_priv explicitly to PIPE_WGC_C22




More information about the Intel-gfx mailing list