[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: stop modifying "const" device info (rev3)

Patchwork patchwork at emeril.freedesktop.org
Tue Aug 23 11:40:06 UTC 2022


== Series Details ==

Series: drm/i915: stop modifying "const" device info (rev3)
URL   : https://patchwork.freedesktop.org/series/105358/
State : warning

== Summary ==

Error: dim checkpatch failed
b0d2dc3296d2 drm/i915/guc: remove runtime info printing from time stamp logging
ca2ba90a7f98 drm/i915: combine device info printing into one
ab44989bcb61 drm/i915: add initial runtime info into device info
-:51: WARNING:REPEATED_WORD: Possible repeated word: 'into'
#51: FILE: drivers/gpu/drm/i915/intel_device_info.h:208:
+	 * Platform mask is used for optimizing or-ed IS_PLATFORM calls into
+	 * into single runtime conditionals, and also to provide groundwork

total: 0 errors, 1 warnings, 0 checks, 75 lines checked
71e774dd9e8f drm/i915: move graphics.ver and graphics.rel to runtime info
-:26: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#26: FILE: drivers/gpu/drm/i915/i915_drv.h:860:
+#define GRAPHICS_VER_FULL(i915)		IP_VER(RUNTIME_INFO(i915)->graphics.ver, \
+					       RUNTIME_INFO(i915)->graphics.rel)

-:98: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#98: FILE: drivers/gpu/drm/i915/i915_pci.c:1283:
+	int gttmmaddr_bar = intel_info->__runtime.graphics.ver == 2 ? GEN2_GTTMMADR_BAR : GTTMMADR_BAR;

total: 0 errors, 1 warnings, 1 checks, 110 lines checked
99de4de7e04e drm/i915: move fbc_mask to runtime info
61b6bc9097c5 drm/i915: move page_sizes to runtime info
fcf384b10cc8 drm/i915: move ppgtt_type and ppgtt_size to runtime info
0902f0150e0b drm/i915: move has_pooled_eu to runtime info
4d5aeb8c0dde drm/i915: move memory_regions to runtime info
04bd7c48a683 drm/i915: move platform_engine_mask to runtime info
e4604743924d drm/i915: move pipe_mask and cpu_transcoder_mask to runtime info
-:30: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#30: FILE: drivers/gpu/drm/i915/display/intel_display.h:386:
+		for_each_if (RUNTIME_INFO(__dev_priv)->cpu_transcoder_mask & BIT(__t))

-:43: WARNING:LONG_LINE: line length of 106 exceeds 100 columns
#43: FILE: drivers/gpu/drm/i915/i915_drv.h:1267:
+#define HAS_TRANSCODER(dev_priv, trans)	 ((RUNTIME_INFO(dev_priv)->cpu_transcoder_mask & BIT(trans)) != 0)

-:136: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#136: FILE: drivers/gpu/drm/i915/i915_pci.c:465:
+	.__runtime.cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | BIT(TRANSCODER_C), \

total: 0 errors, 3 warnings, 0 checks, 285 lines checked
3205ead7dc2a drm/i915: move has_hdcp to runtime info
196f272a50df drm/i915: move has_dmc to runtime info
6bb1a3f667f9 drm/i915: move has_dsc to runtime info




More information about the Intel-gfx mailing list