[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for i915: PVC steppings and initial workarounds

Patchwork patchwork at emeril.freedesktop.org
Sat May 28 11:59:16 UTC 2022


== Series Details ==

Series: i915: PVC steppings and initial workarounds
URL   : https://patchwork.freedesktop.org/series/104461/
State : warning

== Summary ==

Error: dim checkpatch failed
882c40092eea drm/i915/pvc: Extract stepping information from PCI revid
-:34: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i915' - possible side-effects?
#34: FILE: drivers/gpu/drm/i915/i915_drv.h:960:
+#define IS_BASEDIE_STEP(__i915, since, until) \
+	(drm_WARN_ON(&(__i915)->drm, INTEL_BASEDIE_STEP(__i915) == STEP_NONE), \
+	 INTEL_BASEDIE_STEP(__i915) >= (since) && INTEL_BASEDIE_STEP(__i915) < (until))

-:45: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i915' - possible side-effects?
#45: FILE: drivers/gpu/drm/i915/i915_drv.h:1216:
+#define IS_PVC_BD_STEP(__i915, since, until) \
+	(IS_PONTEVECCHIO(__i915) && \
+	 IS_BASEDIE_STEP(__i915, since, until))

-:49: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__i915' - possible side-effects?
#49: FILE: drivers/gpu/drm/i915/i915_drv.h:1220:
+#define IS_PVC_CT_STEP(__i915, since, until) \
+	(IS_PONTEVECCHIO(__i915) && \
+	 IS_GRAPHICS_STEP(__i915, since, until))

total: 0 errors, 0 warnings, 3 checks, 137 lines checked
4a3ecbc78e66 drm/i915/pvc: Add initial PVC workarounds




More information about the Intel-gfx mailing list