✗ CI.checkpatch: warning for drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev4)
Patchwork
patchwork at emeril.freedesktop.org
Wed Sep 4 07:14:11 UTC 2024
== Series Details ==
Series: drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev4)
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 9e4d8de7924d69039238e0ab3e9bf1ff32f9ce00
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Wed Sep 4 09:08:08 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 e159ed9ab3ec08042286fb8af2560dbc540beccb drm-intel
21384c83ce90 drm/ttm: Move swapped objects off the manager's LRU list
9e4d8de7924d 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