[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Improve anti-pre-emption w/a for compute workloads (rev7)
Patchwork
patchwork at emeril.freedesktop.org
Thu Sep 29 02:33:10 UTC 2022
== Series Details ==
Series: Improve anti-pre-emption w/a for compute workloads (rev7)
URL : https://patchwork.freedesktop.org/series/100428/
State : warning
== Summary ==
Error: dim checkpatch failed
502f12c04cdf drm/i915/guc: Limit scheduling properties to avoid overflow
-:44: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'field' - possible side-effects?
#44: 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
29c47abff7df drm/i915: Fix compute pre-emption w/a to apply to compute engines
911b8d3394fd drm/i915: Make the heartbeat play nice with long pre-emption timeouts
3924354f431a drm/i915: Improve long running compute w/a for GuC submission
More information about the Intel-gfx
mailing list