[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [01/12] drm/i915: Drop IPC from display 13 and newer

Patchwork patchwork at emeril.freedesktop.org
Wed May 4 22:49:52 UTC 2022


== Series Details ==

Series: series starting with [01/12] drm/i915: Drop IPC from display 13 and newer
URL   : https://patchwork.freedesktop.org/series/103562/
State : warning

== Summary ==

Error: dim checkpatch failed
fe464ec005a5 drm/i915: Drop IPC from display 13 and newer
-:29: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#29: FILE: drivers/gpu/drm/i915/i915_drv.h:1347:
+#define HAS_IPC(dev_priv)		 (DISPLAY_VER(dev_priv) >= 9 && \
+					  DISPLAY_VER(dev_priv) <= 12)

total: 0 errors, 0 warnings, 1 checks, 37 lines checked
bf709b66d5eb drm/i915/display: Disable DSB for DG2 and Alderlake-P
d6397bf6d28a drm/i915: Drop has_gt_uc from device info
41e40333f07a drm/i915: Drop has_rc6 from device info
6648e12a8320 drm/i915: Drop has_rc6p from device info
-:25: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#25: FILE: drivers/gpu/drm/i915/i915_drv.h:1313:
+#define HAS_RC6p(dev_priv)		 (GRAPHICS_VER(dev_priv) >= 6 && \
+					  GRAPHICS_VER(dev_priv) <= 7 && \
+					  !IS_HASWELL(dev_priv))

total: 0 errors, 0 warnings, 1 checks, 38 lines checked
a491192e6234 drm/i915: Drop has_reset_engine from device info
7a051e739286 drm/i915: Drop has_logical_ring_elsq from device info
707c49a2bf72 drm/i915: Drop has_ddi from device info
-:25: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#25: FILE: drivers/gpu/drm/i915/i915_drv.h:1302:
+#define HAS_DDI(dev_priv)		 (DISPLAY_VER(dev_priv) >= 9 || \
+					  IS_HASWELL(dev_priv) || \
+					  IS_BROADWELL(dev_priv))

total: 0 errors, 0 warnings, 1 checks, 38 lines checked
0ada70a2b0be drm/i915: Drop has_dp_mst from device info
0f2bb0d4f67d drm/i915: Drop has_psr from device info
85050c08ff9a drm/i915: Drop has_psr_hw_tracking from device info
-:26: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#26: FILE: drivers/gpu/drm/i915/i915_drv.h:1307:
+#define HAS_PSR_HW_TRACKING(dev_priv)	 ((DISPLAY_VER(dev_priv) >= 9 && \
+					   DISPLAY_VER(dev_priv) <= 11) || \
+					  IS_TIGERLAKE(dev_priv) || \
+					  IS_DG1(dev_priv))

total: 0 errors, 0 warnings, 1 checks, 54 lines checked
37af30910ec8 drm/i915: Drop supports_tv from device info
-:23: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#23: FILE: drivers/gpu/drm/i915/i915_drv.h:1289:
+#define SUPPORTS_TV(dev_priv)		(IS_I915GM(dev_priv) || IS_I945GM(dev_priv) || \
+					 IS_I965GM(dev_priv) || IS_GM45(dev_priv))

total: 0 errors, 0 warnings, 1 checks, 46 lines checked




More information about the Intel-gfx mailing list