✗ CI.checkpatch: warning for drm/xe/bo: add GPU memory trace points
Patchwork
patchwork at emeril.freedesktop.org
Tue May 20 18:43:22 UTC 2025
== Series Details ==
Series: drm/xe/bo: add GPU memory trace points
URL : https://patchwork.freedesktop.org/series/149272/
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 5cb4006098684fe7456ec5718c87131e179c012d
Author: Juston Li <justonli at chromium.org>
Date: Tue May 20 17:16:20 2025 +0000
drm/xe/bo: add GPU memory trace points
Add tracepoints behind CONFIG_DRM_XE_GPU_MEM_TRACEPOINTS for tracking
global and per-process GPU memory usage.
These are required by VSR on Android 12+ for reporting GPU driver memory
allocations.
Signed-off-by: Juston Li <justonli at chromium.org>
+ /mt/dim checkpatch 45abc70af791052c25beeb400aece4dab51020cd drm-intel
5cb400609868 drm/xe/bo: add GPU memory trace points
-:55: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u64' over 'uint64_t'
#55: FILE: drivers/gpu/drm/xe/xe_bo.c:429:
+ uint64_t global_total_pages =
-:64: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u64' over 'uint64_t'
#64: FILE: drivers/gpu/drm/xe/xe_bo.c:438:
+ uint64_t process_mem = atomic64_add_return(size, &xef->process_mem);
total: 0 errors, 0 warnings, 2 checks, 131 lines checked
More information about the Intel-xe
mailing list