[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/tgl: Advanced preparser support for GPU relocs

Patchwork patchwork at emeril.freedesktop.org
Fri Aug 23 02:39:31 UTC 2019


== Series Details ==

Series: drm/i915/tgl: Advanced preparser support for GPU relocs
URL   : https://patchwork.freedesktop.org/series/65658/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
68a96483d2c1 drm/i915/tgl: Advanced preparser support for GPU relocs
-:121: WARNING:LINE_SPACING: Missing a blank line after declarations
#121: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1212:
+		int ret;
+		eb->engine->emit_flush(rq, EMIT_FLUSH);

-:142: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#142: FILE: drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1266:
+	if (cache->rq_size > cache->size/sizeof(u32) - (len + 1))
 	                                ^

-:193: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#193: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:57:
+#define   MI_CBBEND_GLOBAL_GTT		(1<<22)
                               		  ^

-:194: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#194: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:58:
+#define   MI_CBBEND_COMPARE_SEMAPHORE	(1<<21) /* Gen12+*/
                                      	  ^

-:195: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#195: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:59:
+#define   MI_CBBEND_COMPARE_MASK	(1<<19) /* Gen9+*/
                                 	  ^

-:196: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#196: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:60:
+#define   MI_CBBEND_END_CURRENT_LEVEL	(1<<18) /* Gen12+*/
                                      	  ^

-:210: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#210: FILE: drivers/gpu/drm/i915/gt/intel_gpu_commands.h:150:
+#define   MI_SRM_ADD_CS_MMIO_START	(1<<19) /* gen11+ */
                                   	  ^

-:311: WARNING:LINE_SPACING: Missing a blank line after declarations
#311: FILE: drivers/gpu/drm/i915/gt/intel_lrc.c:3076:
+		u32 tmp[16];
+		engine->emit_preparser_disable = gen12_emit_preparser_disable;

total: 0 errors, 2 warnings, 6 checks, 271 lines checked



More information about the Intel-gfx mailing list