✓ CI.checkpatch: success for drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev6)
Patchwork
patchwork at emeril.freedesktop.org
Wed Sep 11 12:26:23 UTC 2024
== Series Details ==
Series: drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev6)
URL : https://patchwork.freedesktop.org/series/138103/
State : success
== 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 cd66d11ff4901e3819ad6b11a690a4fcba2a35bd
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Wed Sep 11 14:18:59 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).
v6:
- Use a TAB instead of space (checkpatch.pl error).
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 fe8a41f28dca3eddef8bdabe6c97504e49179e8c drm-intel
d6c5a80a7db3 drm/ttm: Move swapped objects off the manager's LRU list
cd66d11ff490 drm/ttm: Move pinned objects off LRU lists when pinning
More information about the Intel-xe
mailing list