✗ Fi.CI.CHECKPATCH: warning for fdinfo shared stats (rev3)

Patchwork patchwork at emeril.freedesktop.org
Mon Feb 12 23:57:22 UTC 2024


== Series Details ==

Series: fdinfo shared stats (rev3)
URL   : https://patchwork.freedesktop.org/series/129320/
State : warning

== Summary ==

Error: dim checkpatch failed
f543b001e135 Documentation/gpu: Update documentation on drm-shared-*
ada32ab7c415 drm: add drm_gem_object_is_shared_for_memory_stats() helper
661de209cc69 drm: update drm_show_memory_stats() for dma-bufs
9b6f046c8313 drm/amdgpu: add shared fdinfo stats
-:23: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#23: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c:100:
+	drm_printf(p, "drm-shared-vram:\t%llu KiB\n", stats.vram_shared/1024UL);
 	                                                               ^

-:24: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#24: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c:101:
+	drm_printf(p, "drm-shared-gtt:\t%llu KiB\n", stats.gtt_shared/1024UL);
 	                                                             ^

-:25: CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#25: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c:102:
+	drm_printf(p, "drm-shared-cpu:\t%llu KiB\n", stats.cpu_shared/1024UL);
 	                                                             ^

-:80: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u64' over 'uint64_t'
#80: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_object.h:142:
+	uint64_t vram_shared;

-:86: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u64' over 'uint64_t'
#86: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_object.h:148:
+	uint64_t gtt_shared;

-:90: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u64' over 'uint64_t'
#90: FILE: drivers/gpu/drm/amd/amdgpu/amdgpu_object.h:152:
+	uint64_t cpu_shared;

total: 0 errors, 0 warnings, 6 checks, 64 lines checked
2cebf827908a drm/i915: Update shared stats to use the new gem helper
0bb93fed63de drm/xe: Update shared stats to use the new gem helper




More information about the Intel-gfx mailing list