[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Improve anti-pre-emption w/a for compute workloads (rev9)
Patchwork
patchwork at emeril.freedesktop.org
Wed Oct 12 15:34:22 UTC 2022
== Series Details ==
Series: Improve anti-pre-emption w/a for compute workloads (rev9)
URL : https://patchwork.freedesktop.org/series/100428/
State : warning
== Summary ==
Error: dim checkpatch failed
9800096289da 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
c9422f2faa2f drm/i915: Fix compute pre-emption w/a to apply to compute engines
050d246ba629 drm/i915: Make the heartbeat play nice with long pre-emption timeouts
3c4b0052c2cb drm/i915: Improve long running compute w/a for GuC submission
More information about the Intel-gfx
mailing list