✗ CI.checkpatch: warning for TTM shrinker helpers and xe buffer object shrinker (rev6)
Patchwork
patchwork at emeril.freedesktop.org
Wed Jul 3 17:35:41 UTC 2024
== Series Details ==
Series: TTM shrinker helpers and xe buffer object shrinker (rev6)
URL : https://patchwork.freedesktop.org/series/131815/
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 81a86c968e0e541d7e4fdf5c04b58ad8e35ecb8f
Author: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Date: Wed Jul 3 17:38:13 2024 +0200
drm/xe: Increase the XE_PL_TT watermark
The XE_PL_TT watermark was set to 50% of system memory.
The idea behind that was unclear since the net effect is that
TT memory will be evicted to TTM_PL_SYSTEM memory if that
watermark is exceeded, requiring PPGTT rebinds and dma
remapping. But there is no similar watermark for TTM_PL_SYSTEM
memory.
The TTM functionality that tries to swap out system memory to
shmem objects if a 50% limit of total system memory is reached
is orthogonal to this, and with the shrinker added, it's no
longer in effect.
Replace the 50% TTM_PL_TT limit with a 100% limit, in effect
allowing all graphics memory to be bound to the device unless it
has been swapped out by the shrinker.
Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
+ /mt/dim checkpatch f9bae9be5922368e36324928b898ff4de5280e30 drm-intel
b606d4e5c496 drm/ttm: Allow TTM LRU list nodes of different types
52d1cc0f4ed2 drm/ttm: Slightly clean up LRU list iteration
2b9cc3b8ef0c drm/ttm: Use LRU hitches
05f6c9f0cb17 drm/ttm, drm/amdgpu, drm/xe: Consider hitch moves within bulk sublist moves
4bd764e605c9 drm/ttm: Provide a generic LRU walker helper
b2d00bad54e5 drm/ttm: Use the LRU walker helper for swapping
fcbe98e2c9db drm/ttm: Use the LRU walker for eviction
5f3d74c7637c 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'
-:49: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#49:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 284 lines checked
e909931efcdc drm/ttm/pool: Provide a helper to shrink pages
3c62b059423f 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:275:
+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
6a5aceb5f7a8 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'
-:168: CHECK:SPACING: No space is necessary after a cast
#168: FILE: drivers/gpu/drm/xe/tests/xe_bo.c:382:
+ (unsigned long) total);
-:677: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#677:
new file mode 100644
total: 0 errors, 1 warnings, 1 checks, 891 lines checked
81a86c968e0e drm/xe: Increase the XE_PL_TT watermark
More information about the Intel-xe
mailing list