[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Fix stealing guc_ids + test

Patchwork patchwork at emeril.freedesktop.org
Sat Dec 11 02:28:57 UTC 2021


== Series Details ==

Series: Fix stealing guc_ids + test
URL   : https://patchwork.freedesktop.org/series/97896/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
52305c422f77 drm/i915/guc: Use correct context lock when callig clr_context_registered
eb4fbbb3657c drm/i915/guc: Only assign guc_id.id when stealing guc_id
9018d8758c77 drm/i915/guc: Remove racey GEM_BUG_ON
e111f83640ff drm/i915/guc: Don't hog IRQs when destroying contexts
1bec569ba9a3 drm/i915/guc: Add extra debug on CT deadlock
30672810bf14 drm/i915/guc: Kick G2H tasklet if no credits
df10803955c6 drm/i915/guc: Selftest for stealing of guc ids
-:52: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'guc' may be better as '(guc)' to avoid precedence issues
#52: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:148:
+#define NUMBER_MULTI_LRC_GUC_ID(guc)	(guc->submission_state.num_guc_ids / 16)

-:158: WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message
#158: FILE: drivers/gpu/drm/i915/gt/uc/selftest_guc.c:153:
+	if (!ce) {
+		pr_err("Context array allocation failed\n");

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




More information about the Intel-gfx mailing list