✗ CI.checkpatch: warning for drm/xe: Per client usage

Patchwork patchwork at emeril.freedesktop.org
Tue Apr 16 03:17:46 UTC 2024


== Series Details ==

Series: drm/xe: Per client usage
URL   : https://patchwork.freedesktop.org/series/132477/
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
35057f376b5337039b258ae4c66ed9218f4b3fb8
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 2797c619f7ae7ece8e38c38079ca6711fe41ade9
Author: Lucas De Marchi <lucas.demarchi at intel.com>
Date:   Mon Apr 15 20:04:54 2024 -0700

    HACK: simple gputop-like impl in python
    
    Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
+ /mt/dim checkpatch 5f7597e990bea547bd1261170497e7476fb781bb drm-intel
85365847056a drm/xe/lrc: Add helper to capture context timestamp
d182c2488219 drm/xe: Add helper to capture context runtime
04c34ca451d9 drm/xe: Promote xe_hw_engine_class_to_str()
0fda308cec94 drm/xe: Add XE_ENGINE_CLASS_OTHER to str conversion
2f07c3f1d009 drm/xe: Add helper to capture engine timestamp
c2bc78b97a7d drm/xe/client: Print runtime to fdinfo
-:49: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#49: 
Test-with: https://lore.kernel.org/igt-dev/20240405060056.59379-1-lucas.demarchi@intel.com/

-:81: ERROR:CODE_INDENT: code indent should use tabs where possible
#81: FILE: drivers/gpu/drm/xe/xe_drm_client.c:187:
+        [XE_ENGINE_CLASS_RENDER] = XE_HW_ENGINE_RCS_MASK,$

-:81: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#81: FILE: drivers/gpu/drm/xe/xe_drm_client.c:187:
+        [XE_ENGINE_CLASS_RENDER] = XE_HW_ENGINE_RCS_MASK,$

-:82: ERROR:CODE_INDENT: code indent should use tabs where possible
#82: FILE: drivers/gpu/drm/xe/xe_drm_client.c:188:
+        [XE_ENGINE_CLASS_VIDEO_DECODE] = XE_HW_ENGINE_VCS_MASK,$

-:82: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#82: FILE: drivers/gpu/drm/xe/xe_drm_client.c:188:
+        [XE_ENGINE_CLASS_VIDEO_DECODE] = XE_HW_ENGINE_VCS_MASK,$

-:83: ERROR:CODE_INDENT: code indent should use tabs where possible
#83: FILE: drivers/gpu/drm/xe/xe_drm_client.c:189:
+        [XE_ENGINE_CLASS_VIDEO_ENHANCE] = XE_HW_ENGINE_VECS_MASK,$

-:83: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#83: FILE: drivers/gpu/drm/xe/xe_drm_client.c:189:
+        [XE_ENGINE_CLASS_VIDEO_ENHANCE] = XE_HW_ENGINE_VECS_MASK,$

-:84: ERROR:CODE_INDENT: code indent should use tabs where possible
#84: FILE: drivers/gpu/drm/xe/xe_drm_client.c:190:
+        [XE_ENGINE_CLASS_COPY] = XE_HW_ENGINE_BCS_MASK,$

-:84: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#84: FILE: drivers/gpu/drm/xe/xe_drm_client.c:190:
+        [XE_ENGINE_CLASS_COPY] = XE_HW_ENGINE_BCS_MASK,$

-:85: ERROR:CODE_INDENT: code indent should use tabs where possible
#85: FILE: drivers/gpu/drm/xe/xe_drm_client.c:191:
+        [XE_ENGINE_CLASS_OTHER] = XE_HW_ENGINE_GSCCS_MASK,$

-:85: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#85: FILE: drivers/gpu/drm/xe/xe_drm_client.c:191:
+        [XE_ENGINE_CLASS_OTHER] = XE_HW_ENGINE_GSCCS_MASK,$

-:86: ERROR:CODE_INDENT: code indent should use tabs where possible
#86: FILE: drivers/gpu/drm/xe/xe_drm_client.c:192:
+        [XE_ENGINE_CLASS_COMPUTE] = XE_HW_ENGINE_CCS_MASK,$

-:86: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#86: FILE: drivers/gpu/drm/xe/xe_drm_client.c:192:
+        [XE_ENGINE_CLASS_COMPUTE] = XE_HW_ENGINE_CCS_MASK,$

total: 6 errors, 7 warnings, 0 checks, 104 lines checked
2797c619f7ae HACK: simple gputop-like impl in python
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one

-:9: ERROR:EXECUTE_PERMISSIONS: do not set execute permissions for source files
#9: FILE: pyfdinfo

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

-:15: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 2
#15: FILE: pyfdinfo:2:
+

total: 1 errors, 3 warnings, 0 checks, 113 lines checked




More information about the Intel-xe mailing list