✗ Fi.CI.CHECKPATCH: warning for Remove I915_ENGINE_FIRST_RENDER_COMPUTE
Patchwork
patchwork at emeril.freedesktop.org
Thu Mar 27 00:13:57 UTC 2025
== Series Details ==
Series: Remove I915_ENGINE_FIRST_RENDER_COMPUTE
URL : https://patchwork.freedesktop.org/series/146832/
State : warning
== Summary ==
Error: dim checkpatch failed
a150ec769409 drm/i915: Add the FIRST_CCS() helper
-:27: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'e__' - possible side-effects?
#27: FILE: drivers/gpu/drm/i915/i915_drv.h:622:
+#define FIRST_CCS(e__) \
+ (CCS_MASK(e__->gt) && (__ffs(CCS_MASK(e__->gt)) == e__->instance))
-:27: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'e__' may be better as '(e__)' to avoid precedence issues
#27: FILE: drivers/gpu/drm/i915/i915_drv.h:622:
+#define FIRST_CCS(e__) \
+ (CCS_MASK(e__->gt) && (__ffs(CCS_MASK(e__->gt)) == e__->instance))
total: 0 errors, 0 warnings, 2 checks, 9 lines checked
eadd6d4a2092 drm/i915/gt: Move CCS workaround to the correct section
82c17b19530b drm/i915/gt: Remove FIRST_RENDER_COMPUTE in workaround
4fe052e75e45 drm/i915/gt: Check for the first CCS instead of FIRST_RENDER_COMPUTE
61c07aa7b402 drm/i915/gt/uc: Use FIRST_CCS() helper for one-time CCS operations
030506b29b01 drm/i915/gt: Remove unused I915_ENGINE_FIRST_RENDER_COMPUTE flag
More information about the Intel-gfx
mailing list