✗ CI.checkpatch: warning for Xe + TTM bo shrinker (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Wed Jun 5 03:28:29 UTC 2024
== Series Details ==
Series: Xe + TTM bo shrinker (rev2)
URL : https://patchwork.freedesktop.org/series/134426/
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
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 615de4d84f475a74d3ce7ad528a8849565a62ba7
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Tue Jun 4 16:46:48 2024 +0200
drm/ttm, drm/xe: Add a shrinker for xe bos
Rather than relying on the TTM watermark accounting add a shrinker
for xe_bos in TT or system memory.
Leverage the newly added TTM per-page shrinking and shmem backup
support.
Although xe doesn't fully support WONTNEED (purgeable) bos yet,
introduce and add shrinker support for purgeable ttm_tts.
v2:
- Cleanups bugfixes and a KUNIT shrinker test.
- Add writeback support, and activate if kswapd.
v3:
- Move the try_shrink() helper to core TTM.
- Minor cleanups.
v4:
- Add runtime pm for the shrinker. Shrinking may require an active
device for CCS metadata copying.
Cc: Christian König <christian.koenig at amd.com>
Cc: Somalapuram Amaranath <Amaranath.Somalapuram 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>
+ /mt/dim checkpatch 596cf447db94909c4788fd612876520531e439b0 drm-intel
da41c4e69ce4 drm/ttm: Allow TTM LRU list nodes of different types
2e22d432934a drm/ttm: Slightly clean up LRU list iteration
68bc07e74bf4 drm/ttm: Use LRU hitches
b845f59cd253 drm/ttm, drm/amdgpu, drm/xe: Consider hitch moves within bulk sublist moves
abe0068baed7 drm/ttm: Provide a generic LRU walker helper
52ac3c8f1131 drm/ttm: Use the LRU walker helper for swapping
3bea54871b55 drm/ttm: Use the LRU walker for eviction
efbab0d8b477 drm/ttm: Add a virtual base class for graphics memory backup
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:42: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#42:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 281 lines checked
47d7ff4c9d58 drm/ttm/pool: Provide a helper to shrink pages
bef5b0b86480 drm/ttm: Use fault-injection to test error paths
-:28: WARNING:CONFIG_DESCRIPTION: please write a help paragraph that fully describes the config symbol
#28: FILE: drivers/gpu/drm/Kconfig:262:
+config DRM_TTM_BACKUP_FAULT_INJECT
+ bool "Enable fault injection during TTM backup"
+ depends on DRM_TTM
+ default n
+ help
+ Inject recoverable failures during TTM backup and recovery of
+ backed-up objects. For DRM driver developers only.
+
+ If in doubt, choose N.
+
total: 0 errors, 1 warnings, 0 checks, 51 lines checked
615de4d84f47 drm/ttm, drm/xe: Add a shrinker for xe bos
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:629: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#629:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 847 lines checked
More information about the Intel-xe
mailing list