✗ Fi.CI.CHECKPATCH: warning for Disable dynamic load balancing and support fixed balancing
Patchwork
patchwork at emeril.freedesktop.org
Thu Jan 4 15:04:08 UTC 2024
== Series Details ==
Series: Disable dynamic load balancing and support fixed balancing
URL : https://patchwork.freedesktop.org/series/128202/
State : warning
== Summary ==
Error: dim checkpatch failed
478beb8ee33d drm/i915/gt: Support fixed CCS mode
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:74: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#74:
new file mode 100644
-:79: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1
#79: FILE: drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c:1:
+//SPDX-License-Identifier: MIT
-:200: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'cslice' may be better as '(cslice)' to avoid precedence issues
#200: FILE: drivers/gpu/drm/i915/gt/intel_gt_regs.h:1617:
+#define XEHP_CCS_MODE_CSLICE(cslice, ccs) \
+ (ccs << (cslice * XEHP_CCS_MODE_CSLICE_WIDTH))
-:200: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'ccs' may be better as '(ccs)' to avoid precedence issues
#200: FILE: drivers/gpu/drm/i915/gt/intel_gt_regs.h:1617:
+#define XEHP_CCS_MODE_CSLICE(cslice, ccs) \
+ (ccs << (cslice * XEHP_CCS_MODE_CSLICE_WIDTH))
-:229: CHECK:UNCOMMENTED_DEFINITION: struct mutex definition without comment
#229: FILE: drivers/gpu/drm/i915/gt/intel_gt_types.h:225:
+ struct mutex mutex;
total: 0 errors, 2 warnings, 3 checks, 186 lines checked
592cf5d3fe96 drm/i915/gt: Allow user to set up the CSS mode
-:57: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around '!val'
#57: FILE: drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c:105:
+ if ((!val) || (val > num_slices) || (val % num_slices))
-:57: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'val > num_slices'
#57: FILE: drivers/gpu/drm/i915/gt/intel_gt_ccs_mode.c:105:
+ if ((!val) || (val > num_slices) || (val % num_slices))
total: 0 errors, 0 warnings, 2 checks, 97 lines checked
0a1daf5f7606 drm/i915/gt: Disable HW load balancing for CCS
More information about the Intel-gfx
mailing list