[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: move display info related stuff under display/

Patchwork patchwork at emeril.freedesktop.org
Tue Oct 3 15:06:06 UTC 2023


== Series Details ==

Series: drm/i915: move display info related stuff under display/
URL   : https://patchwork.freedesktop.org/series/124558/
State : warning

== Summary ==

Error: dim checkpatch failed
770f44b90d80 drm/i915: convert INTEL_DISPLAY_ENABLED() into a function
63056bd22445 drm/i915: move display info related macros to display
-:22: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#22: FILE: drivers/gpu/drm/i915/display/intel_display_device.h:105:
+#define DISPLAY_VER_FULL(i915)	IP_VER(DISPLAY_RUNTIME_INFO(i915)->ip.ver, \
+				       DISPLAY_RUNTIME_INFO(i915)->ip.rel)

-:24: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i915' - possible side-effects?
#24: FILE: drivers/gpu/drm/i915/display/intel_display_device.h:107:
+#define IS_DISPLAY_VER(i915, from, until) \
+	(DISPLAY_VER(i915) >= (from) && DISPLAY_VER(i915) <= (until))

total: 0 errors, 0 warnings, 2 checks, 35 lines checked
4b016928808f drm/i915: separate display runtime info init
8cfb13836707 drm/i915: separate subplatform init and runtime feature init




More information about the Intel-gfx mailing list