[Intel-xe] ✗ CI.checkpatch: warning for drm/xe/pvc: Enable fixed CCS mode
Patchwork
patchwork at emeril.freedesktop.org
Sun Oct 15 05:34:49 UTC 2023
== Series Details ==
Series: drm/xe/pvc: Enable fixed CCS mode
URL : https://patchwork.freedesktop.org/series/125148/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 7855df5fdd4d972e54aef0134bb93069885257a2
Author: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
Date: Sat Oct 14 22:31:19 2023 -0700
drm/xe/pvc: Enable fixed CCS mode
Allow static assignment of compute slices to a user selected
number of compute engines. Add a per-tile 'ccs_mode' sysfs
interface for user selection. By default assign all compute
resources to the first available compute engine. User must
ensure the tile is idle while changing the ccs mode as this
causes a tile reset.
Support this mode for PVC which can be extended to other
platforms in future.
IGT: https://patchwork.freedesktop.org/series/125147/
Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
+ /mt/dim checkpatch 7a2215ad9efde6949c4f3e75ca0776e075eabc47 drm-intel
7855df5fd drm/xe/pvc: Enable 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'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:16: WARNING:COMMIT_LOG_USE_LINK: Unknown link reference 'IGT:', use 'Link:' or 'Closes:' instead
#16:
IGT: https://patchwork.freedesktop.org/series/125147/
-:53: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'cslice' may be better as '(cslice)' to avoid precedence issues
#53: FILE: drivers/gpu/drm/xe/regs/xe_gt_regs.h:375:
+#define CCS_MODE_CSLICE(cslice, ccs) \
+ (ccs << (cslice * CCS_MODE_CSLICE_WIDTH))
-:53: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'ccs' may be better as '(ccs)' to avoid precedence issues
#53: FILE: drivers/gpu/drm/xe/regs/xe_gt_regs.h:375:
+#define CCS_MODE_CSLICE(cslice, ccs) \
+ (ccs << (cslice * CCS_MODE_CSLICE_WIDTH))
-:160: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'gt' may be better as '(gt)' to avoid precedence issues
#160: FILE: drivers/gpu/drm/xe/xe_gt.h:20:
+#define CCS_MASK(gt) ((gt->info.engine_mask & XE_HW_ENGINE_CCS_MASK) >> XE_HW_ENGINE_CCS0)
-:166: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#166:
new file mode 100644
total: 0 errors, 2 warnings, 3 checks, 386 lines checked
More information about the Intel-xe
mailing list