✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Limit the reserved VM space to only the platforms that need it

Patchwork patchwork at emeril.freedesktop.org
Wed Mar 27 23:20:36 UTC 2024


== Series Details ==

Series: drm/i915/gt: Limit the reserved VM space to only the platforms that need it
URL   : https://patchwork.freedesktop.org/series/131707/
State : warning

== Summary ==

Error: dim checkpatch failed
438bf8f0a744 drm/i915/gt: Limit the reserved VM space to only the platforms that need it
-:72: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'engine' - possible side-effects?
#72: FILE: drivers/gpu/drm/i915/gt/intel_gt.h:93:
+#define NEEDS_FASTCOLOR_BLT_WABB(engine) ( \
+	intel_gt_needs_wa_16018031267(engine->gt) && \
+	engine->class == COPY_ENGINE_CLASS && engine->instance == 0)

-:72: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'engine' may be better as '(engine)' to avoid precedence issues
#72: FILE: drivers/gpu/drm/i915/gt/intel_gt.h:93:
+#define NEEDS_FASTCOLOR_BLT_WABB(engine) ( \
+	intel_gt_needs_wa_16018031267(engine->gt) && \
+	engine->class == COPY_ENGINE_CLASS && engine->instance == 0)

total: 0 errors, 0 warnings, 2 checks, 43 lines checked




More information about the Intel-gfx mailing list