✗ Fi.CI.CHECKPATCH: warning for drm/i915/gt: Retry RING_HEAD reset until it sticks (rev4)

Patchwork patchwork at emeril.freedesktop.org
Tue Oct 8 11:18:01 UTC 2024


== Series Details ==

Series: drm/i915/gt: Retry RING_HEAD reset until it sticks (rev4)
URL   : https://patchwork.freedesktop.org/series/106377/
State : warning

== Summary ==

Error: dim checkpatch failed
c9676db85b4d drm/i915/gt: Retry RING_HEAD reset until it sticks
-:15: WARNING:COMMIT_LOG_USE_LINK: Unknown link reference 'References:', use 'Link:' or 'Closes:' instead
#15: 
References: https://gitlab.freedesktop.org/drm/intel/-/issues/5432

-:47: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#47: FILE: drivers/gpu/drm/i915/gt/intel_ring_submission.c:243:
+		ENGINE_TRACE(engine, "failed to reset empty ring: [%x, %x]: %x\n",
+				ENGINE_READ_FW(engine, RING_HEAD),

-:113: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'end' - possible side-effects?
#113: FILE: drivers/gpu/drm/i915/i915_utils.h:239:
+#define until_timeout_ns(end, timeout_ns) \
+	for ((end) = ktime_get() + (timeout_ns); \
+			ktime_before(ktime_get(), (end)); \
+			cpu_relax())

total: 0 errors, 1 warnings, 2 checks, 88 lines checked




More information about the Intel-gfx mailing list