✗ CI.checkpatch: warning for Add Battlemage support

Patchwork patchwork at emeril.freedesktop.org
Tue Apr 2 12:53:35 UTC 2024


== Series Details ==

Series: Add Battlemage support
URL   : https://patchwork.freedesktop.org/series/131939/
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
10b531c2aeb176a1a539b4a77216232f97719cec
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit e53c988e01b032c6419e7cb55a373af59599f18e
Author: Gustavo Sousa <gustavo.sousa at intel.com>
Date:   Tue Apr 2 18:17:24 2024 +0530

    drm/xe/xe2hpm: Add initial set of workarounds
    
    Define the initial set of workarounds for Xe2_HPM.
    
    Signed-off-by: Gustavo Sousa <gustavo.sousa at intel.com>
    Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan at intel.com>
+ /mt/dim checkpatch f54ea7473cd118eb39978f2e946b17558b5ff46d drm-intel
30e852e6cbc4 drm/xe/xe2: Recognize Xe2_HPG IP
c241f331102d drm/xe/xe2: Recognize Xe2_HPM IP
b9bd0c5a7178 drm/xe/bmg: Add BMG platform definition
-:57: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#57: FILE: include/drm/xe_pciids.h:211:
+#define XE_BMG_IDS(MACRO__, ...) \
+	MACRO__(0xE202, ## __VA_ARGS__), \
+	MACRO__(0xE20B, ## __VA_ARGS__), \
+	MACRO__(0xE20C, ## __VA_ARGS__), \
+	MACRO__(0xE20D, ## __VA_ARGS__), \
+	MACRO__(0xE212, ## __VA_ARGS__)

-:57: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'MACRO__' - possible side-effects?
#57: FILE: include/drm/xe_pciids.h:211:
+#define XE_BMG_IDS(MACRO__, ...) \
+	MACRO__(0xE202, ## __VA_ARGS__), \
+	MACRO__(0xE20B, ## __VA_ARGS__), \
+	MACRO__(0xE20C, ## __VA_ARGS__), \
+	MACRO__(0xE20D, ## __VA_ARGS__), \
+	MACRO__(0xE212, ## __VA_ARGS__)

total: 1 errors, 0 warnings, 1 checks, 37 lines checked
642292d3f501 drm/xe/bmg: Add BMG mocs table
4bc77ce53ab4 drm/xe/bmg: Program an additional discrete-specific PAT setting
-:24: ERROR:SPACING: space prohibited after that open parenthesis '('
#24: FILE: drivers/gpu/drm/xe/xe_pat.c:145:
+static const struct xe_pat_table_entry xe2_pat_pta = XE2_PAT( 0, 0, 0, 0, 3, 0 );

-:24: ERROR:SPACING: space prohibited before that close parenthesis ')'
#24: FILE: drivers/gpu/drm/xe/xe_pat.c:145:
+static const struct xe_pat_table_entry xe2_pat_pta = XE2_PAT( 0, 0, 0, 0, 3, 0 );

total: 2 errors, 0 warnings, 0 checks, 25 lines checked
be893cfada24 drm/xe/xe2hpg: Determine flat ccs offset for vram
1799b940ec59 drm/xe/xe2hpg: Remove extra allocation of CCS pages for dgfx
e192eda1e98e drm/xe/xe2hpg: Limit chunk size to 4MiB for vram
1d96399ca4e1 drm/xe/xe2hpg: Add initial GT workarounds
b2872ba332b4 drm/xe/xe2hpg: Introduce performance tuning changes for Xe2_HPG.
e53c988e01b0 drm/xe/xe2hpm: Add initial set of workarounds




More information about the Intel-xe mailing list