[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/perf: Add OA buffer size uAPI parameter (rev3)
Patchwork
patchwork at emeril.freedesktop.org
Mon Oct 15 17:11:47 UTC 2018
== Series Details ==
Series: drm/i915/perf: Add OA buffer size uAPI parameter (rev3)
URL : https://patchwork.freedesktop.org/series/50810/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
766560106b0d drm/i915/perf: update generated files headers
88da93631a80 drm/i915/perf: remove redundant oa buffer initialization
-:7: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#7:
gen[78]_oa_enable), so we don't need to initialize when preparing the metric
total: 0 errors, 1 warnings, 0 checks, 53 lines checked
9a97a3a627b0 drm/i915/perf: pass stream to vfuncs when possible
3b0d6f948ca2 drm/i915/perf: add a parameter to control the size of OA buffer
-:48: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'tail' may be better as '(tail)' to avoid precedence issues
#48: FILE: drivers/gpu/drm/i915/i915_perf.c:215:
+#define OA_TAKEN(tail, head) ((tail - head) & (dev_priv->perf.oa.oa_buffer.vma->size - 1))
-:48: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'head' may be better as '(head)' to avoid precedence issues
#48: FILE: drivers/gpu/drm/i915/i915_perf.c:215:
+#define OA_TAKEN(tail, head) ((tail - head) & (dev_priv->perf.oa.oa_buffer.vma->size - 1))
total: 0 errors, 0 warnings, 2 checks, 259 lines checked
More information about the Intel-gfx
mailing list