✗ CI.checkpatch: warning for series starting with [1/2] drm/ttm: rename ttm_bo_put to _fini

Patchwork patchwork at emeril.freedesktop.org
Wed Jul 2 12:08:08 UTC 2025


== Series Details ==

Series: series starting with [1/2] drm/ttm: rename ttm_bo_put to _fini
URL   : https://patchwork.freedesktop.org/series/151064/
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
f8ff75ae1d2127635239b134695774ed4045d05b
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f232a56e220e0daf495e8448ec954f4ac297ead9
Author: Christian König <ckoenig.leichtzumerken at gmail.com>
Date:   Wed Jul 2 13:00:28 2025 +0200

    drm/ttm: replace TTMs refcount with the DRM refcount v2
    
    Instead of keeping a separate reference count for the TTM object also use
    the reference count for DRM GEM objects inside TTM.
    
    Apart from avoiding two reference counts for one object this approach has
    the clear advantage of being able to use drm_exec inside TTM.
    
    v2: adjust XE assert as well and re-enable disabled test
    
    Signed-off-by: Christian König <christian.koenig at amd.com>
+ /mt/dim checkpatch 94631e6b7f655b1922e3227970cd6180200694af drm-intel
3d9becba9e8e drm/ttm: rename ttm_bo_put to _fini
-:501: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: "Christian König" <ckoenig.leichtzumerken at gmail.com>' != 'Signed-off-by: Christian König <christian.koenig at amd.com>'

total: 0 errors, 1 warnings, 0 checks, 388 lines checked
f232a56e220e drm/ttm: replace TTMs refcount with the DRM refcount v2
-:192: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'bo->ttm != NULL'
#192: FILE: drivers/gpu/drm/ttm/ttm_bo.c:294:
+	if (!dma_resv_test_signaled(&bo->base._resv, DMA_RESV_USAGE_BOOKKEEP) ||
+	    (want_init_on_free() && (bo->ttm != NULL)) ||
+	    bo->type == ttm_bo_type_sg ||
+	    !dma_resv_trylock(bo->base.resv)) {

-:193: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "bo->ttm"
#193: FILE: drivers/gpu/drm/ttm/ttm_bo.c:295:
+	    (want_init_on_free() && (bo->ttm != NULL)) ||

-:392: WARNING:FROM_SIGN_OFF_MISMATCH: From:/Signed-off-by: email address mismatch: 'From: "Christian König" <ckoenig.leichtzumerken at gmail.com>' != 'Signed-off-by: Christian König <christian.koenig at amd.com>'

total: 0 errors, 1 warnings, 2 checks, 326 lines checked




More information about the Intel-xe mailing list