[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/regs: split out intel audio register definitions

Patchwork patchwork at emeril.freedesktop.org
Thu Jun 2 10:19:12 UTC 2022


== Series Details ==

Series: drm/i915/regs: split out intel audio register definitions
URL   : https://patchwork.freedesktop.org/series/104645/
State : warning

== Summary ==

Error: dim checkpatch failed
977753637a20 drm/i915/regs: split out intel audio register definitions
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 10, in <module>
    import git
ModuleNotFoundError: No module named 'git'
-:28: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#28: 
new file mode 100644

-:72: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#72: FILE: drivers/gpu/drm/i915/display/intel_audio_regs.h:40:
+#define CPT_HDMIW_HDMIEDID(pipe)	_MMIO_PIPE(pipe, _CPT_HDMIW_HDMIEDID_A, _CPT_HDMIW_HDMIEDID_B)

-:80: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#80: FILE: drivers/gpu/drm/i915/display/intel_audio_regs.h:48:
+#define VLV_HDMIW_HDMIEDID(pipe)	_MMIO_PIPE(pipe, _VLV_HDMIW_HDMIEDID_A, _VLV_HDMIW_HDMIEDID_B)

-:103: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#103: FILE: drivers/gpu/drm/i915/display/intel_audio_regs.h:71:
+#define   AUD_CONFIG_N(n) \
+	(((((n) >> 12) & 0xff) << AUD_CONFIG_UPPER_N_SHIFT) |	\
+	 (((n) & 0xfff) << AUD_CONFIG_LOWER_N_SHIFT))

-:130: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#130: FILE: drivers/gpu/drm/i915/display/intel_audio_regs.h:98:
+#define HSW_AUD_MISC_CTRL(trans)	_MMIO_TRANS(trans, _HSW_AUD_MISC_CTRL_A, _HSW_AUD_MISC_CTRL_B)

-:134: WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#134: FILE: drivers/gpu/drm/i915/display/intel_audio_regs.h:102:
+#define HSW_AUD_M_CTS_ENABLE(trans)	_MMIO_TRANS(trans, _HSW_AUD_M_CTS_ENABLE_A, _HSW_AUD_M_CTS_ENABLE_B)

-:141: WARNING:LONG_LINE: line length of 114 exceeds 100 columns
#141: FILE: drivers/gpu/drm/i915/display/intel_audio_regs.h:109:
+#define HSW_AUD_DIP_ELD_CTRL(trans)	_MMIO_TRANS(trans, _HSW_AUD_DIP_ELD_CTRL_ST_A, _HSW_AUD_DIP_ELD_CTRL_ST_B)

-:151: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#151: FILE: drivers/gpu/drm/i915/display/intel_audio_regs.h:119:
+#define HSW_AUD_EDID_DATA(trans)	_MMIO_TRANS(trans, _HSW_AUD_EDID_DATA_A, _HSW_AUD_EDID_DATA_B)

-:162: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#162: FILE: drivers/gpu/drm/i915/display/intel_audio_regs.h:130:
+#define AUD_DP_2DOT0_CTRL(trans)	_MMIO_TRANS(trans, _AUD_TCA_DP_2DOT0_CTRL, _AUD_TCB_DP_2DOT0_CTRL)

total: 0 errors, 8 warnings, 1 checks, 349 lines checked




More information about the Intel-gfx mailing list