✗ CI.checkpatch: warning for drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev5)
Patchwork
patchwork at emeril.freedesktop.org
Thu Sep 5 06:52:39 UTC 2024
== Series Details ==
Series: drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev5)
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
c62d7e164862503a3662a095da1c6c9014248cb2
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 462dc6ffa375e40926e0137333677e11cd75877a
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Thu Sep 5 08:45:52 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 8b1096500fd6fae573f7d9c4416778d6442e985d drm-intel
fb2051284e6c drm/ttm: Move swapped objects off the manager's LRU list
462dc6ffa375 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