✗ CI.checkpatch: warning for drm/xe/mocs: Add debugfs node to dump mocs

Patchwork patchwork at emeril.freedesktop.org
Thu Mar 21 13:50:22 UTC 2024


== Series Details ==

Series: drm/xe/mocs: Add debugfs node to dump mocs
URL   : https://patchwork.freedesktop.org/series/131425/
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
a9eb1ac8298ef9f9146567c29fa762d8e9efa1ef
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 4a6de80f73bc1a7c58abc591dafcd3e5aabac095
Author: Janga Rahul Kumar <janga.rahul.kumar at intel.com>
Date:   Thu Mar 21 18:37:39 2024 +0530

    drm/xe/mocs: Add debugfs node to dump mocs
    
    This is useful to check mocs configuration. Tests/Tools can use
    this debugfs entry to get mocs info.
    
    Cc: Matt Roper <matthew.d.roper at intel.com>
    Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar at intel.com>
+ /mt/dim checkpatch 9ae91289c9ed219b53a3fbd25be9f414651ce4f2 drm-intel
4a6de80f73bc drm/xe/mocs: Add debugfs node to dump mocs
-:81: WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#81: FILE: drivers/gpu/drm/xe/xe_mocs.c:600:
+			drm_printf(p, "GLOB_MOCS[%d] 0x%x 0x%x\n", i, XELP_GLOBAL_MOCS(i).addr, reg_val);

-:86: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#86: FILE: drivers/gpu/drm/xe/xe_mocs.c:605:
+		for (i = 0; i < (table.n_entries + 1)/2 ; i++) {
 		                                     ^

-:92: WARNING:LONG_LINE: line length of 103 exceeds 100 columns
#92: FILE: drivers/gpu/drm/xe/xe_mocs.c:611:
+			drm_printf(p, "LNCFCMOCS[%d] 0x%x 0x%x\n", i, XELP_LNCFCMOCS(i).addr, reg_val);

total: 0 errors, 2 warnings, 1 checks, 98 lines checked




More information about the Intel-xe mailing list