[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/2] drm/i915/execlists: Preempt-to-busy
Patchwork
patchwork at emeril.freedesktop.org
Thu Jun 20 17:43:08 UTC 2019
== Series Details ==
Series: series starting with [CI,1/2] drm/i915/execlists: Preempt-to-busy
URL : https://patchwork.freedesktop.org/series/62461/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
513105220a80 drm/i915/execlists: Preempt-to-busy
-:393: WARNING:MEMORY_BARRIER: memory barrier without comment
#393: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:242:
+ wmb();
-:1542: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p_ptr' - possible side-effects?
#1542: FILE: drivers/gpu/drm/i915/i915_utils.h:134:
+#define ptr_count_dec(p_ptr) do { \
+ typeof(p_ptr) __p = (p_ptr); \
+ unsigned long __v = (unsigned long)(*__p); \
+ *__p = (typeof(*p_ptr))(--__v); \
+} while (0)
-:1548: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p_ptr' - possible side-effects?
#1548: FILE: drivers/gpu/drm/i915/i915_utils.h:140:
+#define ptr_count_inc(p_ptr) do { \
+ typeof(p_ptr) __p = (p_ptr); \
+ unsigned long __v = (unsigned long)(*__p); \
+ *__p = (typeof(*p_ptr))(++__v); \
+} while (0)
-:1831: WARNING:LINE_SPACING: Missing a blank line after declarations
#1831: FILE: drivers/gpu/drm/i915/intel_guc_submission.c:820:
+ int rem = ARRAY_SIZE(execlists->inflight) - idx;
+ memmove(execlists->inflight, port, rem * sizeof(*port));
total: 0 errors, 2 warnings, 2 checks, 1726 lines checked
3c8259eabd0b drm/i915/execlists: Minimalistic timeslicing
-:351: WARNING:LONG_LINE: line over 100 characters
#351: FILE: drivers/gpu/drm/i915/gt/selftest_lrc.c:211:
+ 2 * RUNTIME_INFO(outer->i915)->num_engines * (count + 2) * (count + 3)) < 0) {
total: 0 errors, 1 warnings, 0 checks, 431 lines checked
More information about the Intel-gfx
mailing list