== Series Details ==

Series: Improve anti-pre-emption w/a for compute workloads (rev4)
URL   : https://patchwork.freedesktop.org/series/100428/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
5ef6e2a52bd2 drm/i915/guc: Limit scheduling properties to avoid overflow
-:42: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'field' - possible 
side-effects?
#42: FILE: drivers/gpu/drm/i915/gt/intel_engine_cs.c:446:
+#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, 191 lines checked
1f742dfb98cf drm/i915: Fix compute pre-emption w/a to apply to compute engines
de2bbe1afe48 drm/i915: Make the heartbeat play nice with long pre-emption 
timeouts
53812ed93f89 drm/i915: Improve long running OCL w/a for GuC submission


Reply via email to