✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/2] drm/i915/gt: Split logical ring contexts from execlist submission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: series starting with [CI,1/2] drm/i915/gt: Split logical ring contexts from execlist submission
URL   : https://patchwork.freedesktop.org/series/85017/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
d46ab2bc6044 drm/i915/gt: Split logical ring contexts from execlist submission
-:1796: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#1796: 
new file mode 100644

-:1827: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'count' - possible side-effects?
#1827: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:27:
+#define LRI(count, flags) ((flags) << 6 | (count) | BUILD_BUG_ON_ZERO(count >= BIT(6)))

-:1829: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#1829: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:29:
+#define REG(x) (((x) >> 2) | BUILD_BUG_ON_ZERO(x >= 0x200))

-:1830: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1830: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:30:
+#define REG16(x) \
+	(((x) >> 9) | BIT(7) | BUILD_BUG_ON_ZERO(x >= 0x10000)), \
+	(((x) >> 2) & 0x7f)

-:1830: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#1830: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:30:
+#define REG16(x) \
+	(((x) >> 9) | BIT(7) | BUILD_BUG_ON_ZERO(x >= 0x10000)), \
+	(((x) >> 2) & 0x7f)

-:1833: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1833: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:33:
+#define END(total_state_size) 0, (total_state_size)

-:5792: WARNING:MEMORY_BARRIER: memory barrier without comment
#5792: FILE: drivers/gpu/drm/i915/gt/selftest_lrc.c:637:
+		wmb();

-:5821: WARNING:MEMORY_BARRIER: memory barrier without comment
#5821: FILE: drivers/gpu/drm/i915/gt/selftest_lrc.c:666:
+	wmb();

-:5953: WARNING:MEMORY_BARRIER: memory barrier without comment
#5953: FILE: drivers/gpu/drm/i915/gt/selftest_lrc.c:798:
+		wmb();

-:6501: WARNING:MEMORY_BARRIER: memory barrier without comment
#6501: FILE: drivers/gpu/drm/i915/gt/selftest_lrc.c:1346:
+	wmb();

-:6915: WARNING:LINE_SPACING: Missing a blank line after declarations
#6915: FILE: drivers/gpu/drm/i915/gt/selftest_lrc.c:1760:
+	struct i915_request *rq;
+	IGT_TIMEOUT(end_time);

total: 2 errors, 6 warnings, 3 checks, 5222 lines checked
ec652f702ec9 drm/i915/gt: Provide a utility to create a scratch buffer


_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux