[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/guc: CTB improvements

Patchwork patchwork at emeril.freedesktop.org
Thu Nov 21 02:49:52 UTC 2019


== Series Details ==

Series: drm/i915/guc: CTB improvements
URL   : https://patchwork.freedesktop.org/series/69788/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
3db17158f33d drm/i915/guc: Add non blocking CTB send function
-:6: WARNING:TYPO_SPELLING: 'fuction' may be misspelled - perhaps 'function'?
#6: 
Add non blocking CTB send fuction, intel_guc_send_nb. In order to

-:7: WARNING:TYPO_SPELLING: 'fuction' may be misspelled - perhaps 'function'?
#7: 
support a non blocking CTB send fuction a spin lock is needed to

total: 0 errors, 2 warnings, 0 checks, 223 lines checked
6022fc4c10a0 drm/i915/guc: Optimized CTB writes and reads
-:33: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#33: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c:79:
+	ctb->size = desc->size = size;

-:48: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#48: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c:91:
+	ctb->head = desc->head = 0;

-:49: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#49: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c:92:
+	ctb->tail = desc->tail = 0;

-:106: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#106: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c:347:
+	ctb->tail = desc->tail = tail * 4;

-:224: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#224: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c:662:
+	ctb->head = desc->head = head * 4;

total: 0 errors, 0 warnings, 5 checks, 213 lines checked
1c5b53a0ae0e drm/i915/guc: Increase size of CTB buffers



More information about the Intel-gfx mailing list