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

Patchwork patchwork at emeril.freedesktop.org
Tue Nov 14 00:48:33 UTC 2023


== Series Details ==

Series: drm/xe/pvc: Enable fixed CCS mode
URL   : https://patchwork.freedesktop.org/series/126365/
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 1b34ea686cfaee3f250b92cf9784c452bc8c05c1
Author: Niranjana Vishwanathapura <niranjana.vishwanathapura at intel.com>
Date:   Mon Nov 13 16:46:04 2023 -0800

    drm/xe: 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 7dc3dda9b2df5a5c8949532f254a0689de70f093 drm-intel
861c26266 drm/xe: 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'
-:52: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'cslice' may be better as '(cslice)' to avoid precedence issues
#52: FILE: drivers/gpu/drm/xe/regs/xe_gt_regs.h:411:
+#define   CCS_MODE_CSLICE(cslice, ccs) \
+	(ccs << (cslice * CCS_MODE_CSLICE_WIDTH))

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

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

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

total: 0 errors, 1 warnings, 3 checks, 311 lines checked
1b34ea686 drm/xe: Avoid any races around ccs_mode update




More information about the Intel-xe mailing list