✗ CI.checkpatch: warning for drm/xe/gsc: test new GSC 1040.0.0.1263 for LNL
Patchwork
patchwork at emeril.freedesktop.org
Wed Oct 23 01:54:51 UTC 2024
== Series Details ==
Series: drm/xe/gsc: test new GSC 1040.0.0.1263 for LNL
URL : https://patchwork.freedesktop.org/series/140342/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f9225d8e4a6853bfbd2287dda542d29ba2c964ba
Author: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Date: Tue Oct 22 18:49:28 2024 -0700
drm/xe/gsc: test new GSC 1040.0.0.1263 for LNL
This patch is for testing only. If the testing is ok, the current
lnl_gsc_1.bin binary will be replaced with this one.
Note that the GSC FW macros use the compatibility version, so we can't
use them to produce the path of a binary based on the release version.
Since this is a ci-only patch to test a specific FW release, instead
of updating the macros we can just hardcode the path.
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
+ /mt/dim checkpatch 8a7ac0227c7c3fe2fcb01a933df5b9c49c7f2832 drm-intel
f9225d8e4a68 drm/xe/gsc: test new GSC 1040.0.0.1263 for LNL
-:26: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#26: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:135:
+#define XE_GSC_FIRMWARE_DEFS(fw_def, major_ver, path_ver) \
+ fw_def(LUNARLAKE, path_ver(xe, gsc, lnl, 104, 1, 0, "xe/lnl_gsc_104.0.0.1263.bin")) \
fw_def(METEORLAKE, major_ver(i915, gsc, mtl, 102, 1, 0))
-:26: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'fw_def' - possible side-effects?
#26: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:135:
+#define XE_GSC_FIRMWARE_DEFS(fw_def, major_ver, path_ver) \
+ fw_def(LUNARLAKE, path_ver(xe, gsc, lnl, 104, 1, 0, "xe/lnl_gsc_104.0.0.1263.bin")) \
fw_def(METEORLAKE, major_ver(i915, gsc, mtl, 102, 1, 0))
-:27: WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#27: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:136:
+ fw_def(LUNARLAKE, path_ver(xe, gsc, lnl, 104, 1, 0, "xe/lnl_gsc_104.0.0.1263.bin")) \
-:35: WARNING:MACRO_ARG_UNUSED: Argument 'dir_' is not used in function-like macro
#35: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:150:
+#define fw_filename_gsc_path(dir_, uc_, shortname_, a, b, c, path_) \
+ path_
-:35: WARNING:MACRO_ARG_UNUSED: Argument 'uc_' is not used in function-like macro
#35: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:150:
+#define fw_filename_gsc_path(dir_, uc_, shortname_, a, b, c, path_) \
+ path_
-:35: WARNING:MACRO_ARG_UNUSED: Argument 'shortname_' is not used in function-like macro
#35: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:150:
+#define fw_filename_gsc_path(dir_, uc_, shortname_, a, b, c, path_) \
+ path_
-:35: WARNING:MACRO_ARG_UNUSED: Argument 'a' is not used in function-like macro
#35: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:150:
+#define fw_filename_gsc_path(dir_, uc_, shortname_, a, b, c, path_) \
+ path_
-:35: WARNING:MACRO_ARG_UNUSED: Argument 'b' is not used in function-like macro
#35: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:150:
+#define fw_filename_gsc_path(dir_, uc_, shortname_, a, b, c, path_) \
+ path_
-:35: WARNING:MACRO_ARG_UNUSED: Argument 'c' is not used in function-like macro
#35: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:150:
+#define fw_filename_gsc_path(dir_, uc_, shortname_, a, b, c, path_) \
+ path_
-:44: WARNING:MACRO_ARG_UNUSED: Argument 'dir_' is not used in function-like macro
#44: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:165:
+#define uc_fw_entry_gsc_path(dir_, uc_, shortname_, a, b, c, path_) \
+ { path_, a, b, c }
-:44: WARNING:MACRO_ARG_UNUSED: Argument 'uc_' is not used in function-like macro
#44: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:165:
+#define uc_fw_entry_gsc_path(dir_, uc_, shortname_, a, b, c, path_) \
+ { path_, a, b, c }
-:44: WARNING:MACRO_ARG_UNUSED: Argument 'shortname_' is not used in function-like macro
#44: FILE: drivers/gpu/drm/xe/xe_uc_fw.c:165:
+#define uc_fw_entry_gsc_path(dir_, uc_, shortname_, a, b, c, path_) \
+ { path_, a, b, c }
total: 1 errors, 10 warnings, 1 checks, 42 lines checked
More information about the Intel-xe
mailing list