✗ CI.checkpatch: warning for Preparations to make struct xe_ggtt private.
Patchwork
patchwork at emeril.freedesktop.org
Fri May 2 12:32:51 UTC 2025
== Series Details ==
Series: Preparations to make struct xe_ggtt private.
URL : https://patchwork.freedesktop.org/series/148546/
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
202708c00696422fd217223bb679a353a5936e23
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 49d675d829fc7b88fd360ac1e6ad672fbb0990b4
Author: Maarten Lankhorst <dev at lankhorst.se>
Date: Fri May 2 12:36:37 2025 +0200
drm/xe: Do not rely on GGTT internals in xe_guc_buf kunit tests
Add a function to init ggtt for kunit, and use the GGTT function for
initialising the GGTT node without populating it. This
prevents the test from ever knowing about struct xe_ggtt.
Signed-off-by: Maarten Lankhorst <dev at lankhorst.se>
+ /mt/dim checkpatch 5303c0e49b49fe27639ba8b2c178931bc22344a2 drm-intel
59bebe63ab43 drm/xe: Use xe_ggtt_map_bo_unlocked for resume
0baeb15e6634 drm/xe: Add xe_ggtt_might_lock
e64bc6d51998 drm/xe: Add xe_ggtt_alloc
-:33: WARNING:LINE_SPACING: Missing a blank line after declarations
#33: FILE: drivers/gpu/drm/xe/xe_ggtt.c:174:
+ struct xe_ggtt *ggtt = drmm_kzalloc(&tile_to_xe(tile)->drm, sizeof(*ggtt), GFP_KERNEL);
+ if (ggtt)
total: 0 errors, 1 warnings, 0 checks, 45 lines checked
ad252c57fa5f drm/xe/display: Remove dereferences of ggtt for tile id
a86c2d2831d1 drm/xe/ggtt: Seperate flags and address in PTE encoding
-:4: WARNING:TYPO_SPELLING: 'Seperate' may be misspelled - perhaps 'Separate'?
#4:
Subject: [PATCH] drm/xe/ggtt: Seperate flags and address in PTE encoding
^^^^^^^^
-:160: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#160: FILE: drivers/gpu/drm/xe/xe_ggtt.c:662:
+ xe_res_next(&cur, XE_PAGE_SIZE)) {
+
total: 0 errors, 1 warnings, 1 checks, 187 lines checked
48b3d07c731e drm/xe/display: Dont poke into GGTT internals to fill a DPT
-:54: WARNING:LINE_SPACING: Missing a blank line after declarations
#54: FILE: drivers/gpu/drm/xe/display/xe_fb_pin.c:66:
+ u64 addr = xe_bo_addr(bo, src_idx * XE_PAGE_SIZE, XE_PAGE_SIZE);
+ iosys_map_wr(map, *dpt_ofs, u64, pte | addr);
total: 0 errors, 1 warnings, 0 checks, 79 lines checked
ddb6822dfb79 drm/xe/display: Convert GGTT mapping to use pte_encode_flags
2f8c6695f2ea drm/xe: Remove pte_encode_bo callback
8ebe7f3de4db drm/xe: Implement a helper for reading out a GGTT PTE at a specified offset
49d675d829fc drm/xe: Do not rely on GGTT internals in xe_guc_buf kunit tests
More information about the Intel-xe
mailing list