✗ Fi.CI.CHECKPATCH: warning for drm/xe: Cleanup GGTT usage outside of xe_ggtt.c

Patchwork patchwork at emeril.freedesktop.org
Fri Apr 4 23:58:33 UTC 2025


== Series Details ==

Series: drm/xe: Cleanup GGTT usage outside of xe_ggtt.c
URL   : https://patchwork.freedesktop.org/series/147282/
State : warning

== Summary ==

Error: dim checkpatch failed
e433ec649f2c drm/xe: Use xe_ggtt_map_bo_unlocked for resume
80abab1241eb drm/xe: Add xe_ggtt_might_lock
8ce268efd835 drm/xe: Add xe_ggtt_alloc
-:32: WARNING:LINE_SPACING: Missing a blank line after declarations
#32: 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
9c2fc71cea3b drm/xe/display: Remove dereferences of ggtt for tile id
288300a95463 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
c9f2f8c2506d 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
f73b6171055a drm/xe/display: Convert GGTT mapping to use pte_encode_flags
9d34e329f4d2 drm/xe: Remove pte_encode_bo callback
f2f0ff2bff29 drm/xe: Implement a helper for reading out a GGTT PTE at a specified offset




More information about the Intel-gfx mailing list