[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: ttm for stolen region (rev4)

Patchwork patchwork at emeril.freedesktop.org
Thu Apr 21 23:16:30 UTC 2022


== Series Details ==

Series: drm/i915: ttm for stolen region (rev4)
URL   : https://patchwork.freedesktop.org/series/102540/
State : warning

== Summary ==

Error: dim checkpatch failed
c1e10dd4ab94 drm/i915: instantiate ttm ranger manager for stolen memory
0f75dfba1932 drm/i915: sanitize mem_flags for stolen buffers
b167928f752f drm/i915: ttm move/clear logic fix
327872a9f002 drm/i915: ttm backend dont provide mmap_offset for kernel buffers
437411ec6ddc drm/i915: allow memory region creators to alloc and free the region
894b41d38a33 drm/i915: stolen memory use ttm backend
-:546: CHECK:ALLOC_SIZEOF_STRUCT: Prefer kzalloc(sizeof(*region)...) over kzalloc(sizeof(struct stolen_region)...)
#546: FILE: drivers/gpu/drm/i915/gem/i915_gem_stolen.c:602:
+	struct stolen_region *region = kzalloc(sizeof(struct stolen_region), GFP_KERNEL);

total: 0 errors, 0 warnings, 1 checks, 993 lines checked




More information about the Intel-gfx mailing list