[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/4] drm/i915: Add engine scratch register to live_lrc_fixed

Patchwork patchwork at emeril.freedesktop.org
Fri Apr 24 22:05:06 UTC 2020


== Series Details ==

Series: series starting with [1/4] drm/i915: Add engine scratch register to live_lrc_fixed
URL   : https://patchwork.freedesktop.org/series/76460/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
d5008c5aac16 drm/i915: Add engine scratch register to live_lrc_fixed
70ee6bcc1e36 drm/i915: Add per ctx batchbuffer wa for timestamp
-:259: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#259: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:5029:
+		ce->wa_bb_page = context_size/PAGE_SIZE;
 		                             ^

total: 0 errors, 0 warnings, 1 checks, 215 lines checked
4c47318cc563 drm/i915: Add live selftests for indirect ctx batchbuffers
5a28ec4512da drm/i915: Use indirect ctx bb to mend CMD_BUF_CCTL
-:47: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#47: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:622:
+#define END(total_state_size) 0, (total_state_size)

-:132: CHECK:SPACING: spaces preferred around that '*' (ctx:VxW)
#132: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:3330:
+	*cs++ = lrc_offset + (lrc_ring_cmd_buf_cctl(ce->engine) + 1)* sizeof(u32);
 	                                                            ^

total: 1 errors, 0 warnings, 1 checks, 165 lines checked



More information about the Intel-gfx mailing list