[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: s/GRAPHICS_VER/DISPLAY_VER/ where appropriate
Patchwork
patchwork at emeril.freedesktop.org
Tue Jan 25 00:02:42 UTC 2022
== Series Details ==
Series: series starting with [1/2] drm/i915: s/GRAPHICS_VER/DISPLAY_VER/ where appropriate
URL : https://patchwork.freedesktop.org/series/99278/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
cf24e52f7816 drm/i915: s/GRAPHICS_VER/DISPLAY_VER/ where appropriate
-:25: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#25: FILE: drivers/gpu/drm/i915/i915_drv.h:1467:
+#define HAS_GMBUS_BURST_READ(dev_priv) (DISPLAY_VER(dev_priv) >= 11 || \
IS_GEMINILAKE(dev_priv) || \
IS_KABYLAKE(dev_priv))
-:37: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev_priv' - possible side-effects?
#37: FILE: drivers/gpu/drm/i915/i915_drv.h:1481:
+#define HAS_CUR_FBC(dev_priv) (!HAS_GMCH(dev_priv) && DISPLAY_VER(dev_priv) >= 7)
total: 0 errors, 0 warnings, 2 checks, 61 lines checked
bb2df423a3f8 drm/i915: Introduce ilk_pch_pre_enable()
More information about the Intel-gfx
mailing list