[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/3] drm/i915: Add per ctx batchbuffer wa for timestamp

Patchwork patchwork at emeril.freedesktop.org
Fri Apr 17 20:29:18 UTC 2020


== Series Details ==

Series: series starting with [1/3] drm/i915: Add per ctx batchbuffer wa for timestamp
URL   : https://patchwork.freedesktop.org/series/76102/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
41bd098fd910 drm/i915: Add per ctx batchbuffer wa for timestamp
-:51: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#51: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:141:
+#define   MI_LRI_LRM_CS_MMIO		(1<<19)
                             		  ^

-:59: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#59: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:158:
+#define   MI_LRM_ASYNC			(1<<21)
                       			  ^

-:191: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#191: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:3247:
+			 (I915_GTT_PAGE_SIZE - 4)/sizeof(*cs));
 			                         ^

-:228: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#228: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:3283:
+		execlists_setup_indirect_ctx_bb(ce,
+					gen12_emit_timestamp_wa_lrr);

-:244: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#244: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:3312:
+
+	}

total: 0 errors, 0 warnings, 5 checks, 264 lines checked
384079efb59c drm/i915: Add live selftests for indirect ctx batchbuffers
-:39: CHECK:SPACING: spaces preferred around that '*' (ctx:VxV)
#39: FILE: drivers/gpu/drm/i915/gt/selftest_lrc.c:5387:
+#define CTX_BB_CANARY_OFFSET (3*1024)
                                ^

-:40: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#40: FILE: drivers/gpu/drm/i915/gt/selftest_lrc.c:5388:
+#define CTX_BB_CANARY_INDEX  (CTX_BB_CANARY_OFFSET/sizeof(u32))
                                                   ^

-:150: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#150: FILE: drivers/gpu/drm/i915/gt/selftest_lrc.c:5498:
+	for_each_engine(engine, gt, id) {
+

total: 0 errors, 0 warnings, 3 checks, 167 lines checked
eae7f1fa6697 drm/i915: Use indirect ctx bb to mend CMD_BUF_CCTL



More information about the Intel-gfx mailing list