[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/perf: Refactor oa object to better manage resources (rev4)

Patchwork patchwork at emeril.freedesktop.org
Mon Aug 5 17:00:40 UTC 2019


== Series Details ==

Series: drm/i915/perf: Refactor oa object to better manage resources (rev4)
URL   : https://patchwork.freedesktop.org/series/60176/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
f885af0cdd23 drm/i915/perf: Refactor oa object to better manage resources
-:880: WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#880: FILE: drivers/gpu/drm/i915/i915_perf.c:1368:
+	BUG_ON(stream != dev_priv->perf.exclusive_stream);

-:1563: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#1563: FILE: drivers/gpu/drm/i915/i915_perf.c:3619:
+				dev_priv->perf.gen8_valid_ctx_bit = (1<<25);
 				                                      ^

-:1571: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#1571: FILE: drivers/gpu/drm/i915/i915_perf.c:3624:
+				dev_priv->perf.gen8_valid_ctx_bit = (1<<16);
 				                                      ^

-:1601: CHECK:SPACING: spaces preferred around that '<<' (ctx:VxV)
#1601: FILE: drivers/gpu/drm/i915/i915_perf.c:3644:
+			dev_priv->perf.gen8_valid_ctx_bit = (1<<16);
 			                                      ^

total: 0 errors, 1 warnings, 3 checks, 2075 lines checked



More information about the Intel-gfx mailing list