[Intel-xe] ✗ CI.checkpatch: warning for drm/xe: Add mocs kunit (rev7)
Patchwork
patchwork at emeril.freedesktop.org
Mon Oct 30 20:35:57 UTC 2023
== Series Details ==
Series: drm/xe: Add mocs kunit (rev7)
URL : https://patchwork.freedesktop.org/series/124926/
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 8f33ce3f58a42c814bc3f6001d8f705abf4a22de
Author: Ruthuvikas Ravikumar <ruthuvikas.ravikumar at intel.com>
Date: Tue Oct 31 00:10:30 2023 +0530
drm/xe: Add mocs kunit
This kunit verifies the hardware values of mocs and
l3cc registers with the KMD programmed values.
v7: correct checkpath
v6: Change ssize_t type.
Change forcewake domain to XE_FW_GT.
Update change of MOCS registers are multicast on Xe_HP and beyond
patch.
v5: Release forcewake.
Remove single statement braces.
Fix debug statements.
v4: Drop stratch and vaddr.
Fix debug statements.
Fix indentation.
v3: Fix checkpath.
v2: Fix checkpath.
Cc: Aravind Iddamsetty <aravind.iddamsetty at intel.com>
Cc: Mathew D Roper <matthew.d.roper at intel.com>
Signed-off-by: Ruthuvikas Ravikumar <ruthuvikas.ravikumar at intel.com>
+ /mt/dim checkpatch 1e652bcf7cc139244f4f8c0cd1fc184029240050 drm-intel
8f33ce3f5 drm/xe: Add mocs kunit
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'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:44: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#44:
new file mode 100644
-:120: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#120: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:72:
+ mocs_dbg(>_to_xe(gt)->drm, "%d 0x%x 0x%x 0x%x\n", i, reg_mcr.__reg.addr,
+ reg_val, l3cc);
-:123: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#123: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:75:
+ KUNIT_FAIL(test, "l3cc reg 0x%x has incorrect val.\n",
+ reg_mcr.__reg.addr);
-:129: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#129: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:81:
+ mocs_dbg(>_to_xe(gt)->drm, "%d 0x%x 0x%x 0x%x\n", i, reg.addr,
+ reg_val, l3cc);
-:132: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#132: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:84:
+ KUNIT_FAIL(test, "l3cc reg 0x%x has incorrect val.\n",
+ reg.addr);
-:135: CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#135: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:87:
+
+ }
-:142: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#142: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:94:
+static void read_mocs_table(struct xe_gt *gt,
+ const struct xe_mocs_info *info)
-:164: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#164: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:116:
+ i++) {
+
-:170: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#170: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:122:
+ mocs_dbg(>_to_xe(gt)->drm, "%d 0x%x 0x%x 0x%x\n", i,
+ reg_mcr.__reg.addr, reg_val, mocs);
-:173: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#173: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:125:
+ KUNIT_FAIL(test, "mocs reg 0x%x has incorrect val:\n",
+ reg_mcr.__reg.addr);
-:179: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#179: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:131:
+ mocs_dbg(>_to_xe(gt)->drm, "%d 0x%x 0x%x 0x%x\n", i,
+ reg.addr, reg_val, mocs);
-:182: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
#182: FILE: drivers/gpu/drm/xe/tests/xe_mocs.c:134:
+ KUNIT_FAIL(test, "mocs reg 0x%x has incorrect val:\n",
+ reg.addr);
total: 0 errors, 1 warnings, 11 checks, 216 lines checked
More information about the Intel-xe
mailing list