[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v5,1/3] drm/i915/bdw+: Move misc display IRQ handling to it own function

Patchwork patchwork at emeril.freedesktop.org
Sat Apr 20 21:41:15 UTC 2019


== Series Details ==

Series: series starting with [v5,1/3] drm/i915/bdw+: Move misc display IRQ handling to it own function
URL   : https://patchwork.freedesktop.org/series/59787/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
c17cacf29b8b drm/i915/bdw+: Move misc display IRQ handling to it own function
2395a4b837cc drm/i915: Add _TRANS2()
-:31: WARNING:LONG_LINE: line over 100 characters
#31: FILE: drivers/gpu/drm/i915/i915_reg.h:254:
+					 INTEL_INFO(dev_priv)->trans_offsets[TRANSCODER_A] + (reg) + \

total: 0 errors, 1 warnings, 0 checks, 13 lines checked
e13cbaaf2c48 drm/i915: Make PSR registers relative to transcoders
-:166: WARNING:LONG_LINE: line over 100 characters
#166: FILE: drivers/gpu/drm/i915/i915_reg.h:4225:
+#define _PSR_ADJ(tran, reg)			(IS_HASWELL(dev_priv) ? _HSW_PSR_ADJ(reg) : _TRANS2(tran, reg))

-:166: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'reg' - possible side-effects?
#166: FILE: drivers/gpu/drm/i915/i915_reg.h:4225:
+#define _PSR_ADJ(tran, reg)			(IS_HASWELL(dev_priv) ? _HSW_PSR_ADJ(reg) : _TRANS2(tran, reg))

-:189: WARNING:LONG_LINE_COMMENT: line over 100 characters
#189: FILE: drivers/gpu/drm/i915/i915_reg.h:4275:
+#define EDP_PSR_AUX_DATA(tran, i)		_MMIO(_PSR_ADJ(tran, _SRD_AUX_DATA_A) + (i) + 4) /* 5 registers */

total: 0 errors, 2 warnings, 1 checks, 316 lines checked



More information about the Intel-gfx mailing list