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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

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

== Summary ==

Error: dim checkpatch failed
e04a4c99ad58 Documentation/gpu: Update documentation on drm-shared-*
adecec6569ab drm: add drm_gem_object_is_shared_for_memory_stats() helper
-:36: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'obj->handle_count > 1'
#36: FILE: drivers/gpu/drm/drm_gem.c:1520:
+	if ((obj->handle_count > 1) || obj->dma_buf)

total: 0 errors, 0 warnings, 1 checks, 26 lines checked
c2e076a963f7 drm: update drm_show_memory_stats() for dma-bufs
0b822e585927 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
dabe061f5d89 drm/i915: Update shared stats to use the new gem helper
d46cfda8ad66 drm/xe: Update shared stats to use the new gem helper





[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux