[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Improve anti-pre-emption w/a for compute workloads (rev8)
Patchwork
patchwork at emeril.freedesktop.org
Thu Oct 6 21:57:20 UTC 2022
== Series Details ==
Series: Improve anti-pre-emption w/a for compute workloads (rev8)
URL : https://patchwork.freedesktop.org/series/100428/
State : warning
== Summary ==
Error: dim checkpatch failed
e700b8ded220 drm/i915/guc: Limit scheduling properties to avoid overflow
-:45: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'field' - possible side-effects?
#45: FILE: drivers/gpu/drm/i915/gt/intel_engine_cs.c:516:
+#define CLAMP_PROP(field) \
+ do { \
+ u64 clamp = intel_clamp_##field(engine, engine->props.field); \
+ if (clamp != engine->props.field) { \
+ drm_notice(&engine->i915->drm, \
+ "Warning, clamping %s to %lld to prevent overflow\n", \
+ #field, clamp); \
+ engine->props.field = clamp; \
+ } \
+ } while (0)
total: 0 errors, 0 warnings, 1 checks, 223 lines checked
6e67b1a4543c drm/i915: Fix compute pre-emption w/a to apply to compute engines
8d9003ea70cc drm/i915: Make the heartbeat play nice with long pre-emption timeouts
f2479b21c994 drm/i915: Improve long running compute w/a for GuC submission
More information about the Intel-gfx
mailing list