✗ CI.checkpatch: warning for drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Tue Sep 3 10:43:42 UTC 2024
== Series Details ==
Series: drm/ttm: Really use a separate LRU list for swapped- and pinned objects (rev2)
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 d9ff07d6f48052ec1e0cee5545ed0cb654969d79
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Tue Sep 3 11:47:53 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.
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
69ecf2587ad2 drm/ttm: Move swapped objects off the manager's LRU list
-:333: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations
#333: FILE: drivers/gpu/drm/ttm/ttm_tt.c:370:
}
+#if IS_ENABLED(CONFIG_DRM_TTM_KUNIT_TEST)
total: 0 errors, 0 warnings, 1 checks, 291 lines checked
d9ff07d6f480 drm/ttm: Move pinned objects off LRU lists when pinning
More information about the Intel-xe
mailing list