✗ CI.checkpatch: warning for drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev3)

Patchwork patchwork at emeril.freedesktop.org
Tue Sep 3 12:28:13 UTC 2024


== Series Details ==

Series: drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev3)
URL   : https://patchwork.freedesktop.org/series/138103/
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
9fe5037901cabbcdf27a6fe0dfb047ca1474d363
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 58d684b7eefe402541d9dfddd3eb844f53968f8a
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date:   Tue Sep 3 14:19:58 2024 +0200

    drm/ttm: Move pinned objects off LRU lists when pinning
    
    The ttm_bo_pin() and ttm_bo_unpin() functions weren't moving their
    resources off the LRU list to the unevictable list.
    
    Make sure that happens so that pinned objects don't accidently linger
    on the LRU lists, and also make sure to move them back once they
    are unpinned.
    
    v2:
    - Removing from a bulk move must be done with the pin-count still zero.
    v3:
    - ttm_resource_move_to_lru_tail must be done after pinning with a non-
      NULL resource (Intel CI).
    
    Cc: Christian König <christian.koenig at amd.com>
    Cc: Matthew Brost <matthew.brost at intel.com>
    Cc: <dri-devel at lists.freedesktop.org>
    Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
    Reviewed-by: Christian König <christian.koenig at amd.com> #v1
+ /mt/dim checkpatch 707f9d05c039aa43d5cbfc29573b642d3c43b618 drm-intel
4bcc9cee200a drm/ttm: Move swapped objects off the manager's LRU list
-:336: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#336: FILE: drivers/gpu/drm/ttm/ttm_tt.c:370:
 }
+#if IS_ENABLED(CONFIG_DRM_TTM_KUNIT_TEST)

total: 0 errors, 0 warnings, 1 checks, 292 lines checked
58d684b7eefe drm/ttm: Move pinned objects off LRU lists when pinning
-:38: ERROR:CODE_INDENT: code indent should use tabs where possible
#38: FILE: drivers/gpu/drm/ttm/ttm_bo.c:598:
+^I        ttm_resource_move_to_lru_tail(bo->resource);$

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




More information about the Intel-xe mailing list