✗ CI.checkpatch: warning for drm/panthor: support repeated mappings

Patchwork patchwork at emeril.freedesktop.org
Mon Jul 7 13:08:03 UTC 2025


== Series Details ==

Series: drm/panthor: support repeated mappings
URL   : https://patchwork.freedesktop.org/series/151264/
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
43254c2aa575037fc031c7ac21b0d031c700b2bf
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f492a9c282f0ef76731f0a8f99001eb80df0d77a
Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Thu Jul 3 20:52:59 2025 +0000

    drm/panthor: Add support for repeated mappings
    
    This allows us to optimize mapping of a relatively small
    portion of a BO over and over in a large VA range, which
    is useful to support Vulkan sparse bindings in an efficient
    way.
    
    Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
    Co-developed-by: Caterina Shablia <caterina.shablia at collabora.com>
    Signed-off-by: Caterina Shablia <caterina.shablia at collabora.com>
+ /mt/dim checkpatch 1e771eeb8454dcea561bff0df9ef9b83136c2461 drm-intel
32b0e527c4aa drm/panthor: Add support for atomic page table updates
eea5f2e68c5e drm/gpuvm: Kill drm_gpuva_init()
7c9a83e3a40f drm/gpuvm: Pass map arguments through a struct
-:136: CHECK:LINE_SPACING: Please don't use multiple blank lines
#136: FILE: drivers/gpu/drm/drm_gpuvm.c:2229:
 
+

total: 0 errors, 0 warnings, 1 checks, 323 lines checked
10003454aaf4 drm/gpuvm: Add a helper to check if two VA can be merged
f1b547ee0fdf drm/gpuvm: Add a flags field to drm_gpuvm_map_req/drm_gpuva_op_map
41b814d4fd30 drm/gpuvm: Add DRM_GPUVA_REPEAT flag and logic
-:81: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'va_range < req->gem.range'
#81: FILE: drivers/gpu/drm/drm_gpuvm.c:2164:
+		if (unlikely(!req->gem.range ||
+			     (va_range < req->gem.range) ||
+			     do_div(va_range, req->gem.range)))

total: 0 errors, 0 warnings, 1 checks, 222 lines checked
f492a9c282f0 drm/panthor: Add support for repeated mappings




More information about the Intel-xe mailing list