[Intel-xe] ✗ CI.checkpatch: warning for drm/xe/pvc: Enable fixed CCS mode

Patchwork patchwork at emeril.freedesktop.org
Fri Nov 17 22:27:14 UTC 2023


== Series Details ==

Series: drm/xe/pvc: Enable fixed CCS mode
URL   : https://patchwork.freedesktop.org/series/126502/
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 846ccb577df385df3c36d2755e4bb5114fa81eb7
Author: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
Date:   Wed Nov 15 19:34:36 2023 -0800

    drm/xe/pvc: Avoid any races around ccs_mode update
    
    Ensure that there are no drm clients when changing CCS mode.
    Allow exec_queue creation only with enabled CCS engines.
    
    Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
+ /mt/dim checkpatch 3b8183b7efad3d97ab6cf401f3fc0d24b30b6d3d drm-intel
fb9e3a981 drm/xe/pvc: Enable Fixed CCS mode setting
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'
-:51: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'cslice' may be better as '(cslice)' to avoid precedence issues
#51: FILE: drivers/gpu/drm/xe/regs/xe_gt_regs.h:411:
+#define   CCS_MODE_CSLICE(cslice, ccs) \
+	(ccs << (cslice * CCS_MODE_CSLICE_WIDTH))

-:51: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'ccs' may be better as '(ccs)' to avoid precedence issues
#51: FILE: drivers/gpu/drm/xe/regs/xe_gt_regs.h:411:
+#define   CCS_MODE_CSLICE(cslice, ccs) \
+	(ccs << (cslice * CCS_MODE_CSLICE_WIDTH))

-:100: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'gt' may be better as '(gt)' to avoid precedence issues
#100: 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)

-:106: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#106: 
new file mode 100644

total: 0 errors, 1 warnings, 3 checks, 239 lines checked
a2d1b59b9 drm/xe/pvc: Allow userspace to configure CCS mode
846ccb577 drm/xe/pvc: Avoid any races around ccs_mode update




More information about the Intel-xe mailing list