dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] TTM shrinker fragmentation / partial restore fixes
@ 2026-05-05 20:04 Matthew Brost
  2026-05-05 20:04 ` [PATCH v5 1/2] drm/ttm: Drop tt->restore after successful restore Matthew Brost
  2026-05-05 20:04 ` [PATCH v5 2/2] drm/ttm/pool: back up at native page order Matthew Brost
  0 siblings, 2 replies; 8+ messages in thread
From: Matthew Brost @ 2026-05-05 20:04 UTC (permalink / raw)
  To: intel-xe, dri-devel

Fix shrinker fragmentation / partial restore fixes. Related to [1],
continuation of [2], patches have details.

Series working shrinker getting triggered in a loop plus the below error
injection:

cd /sys/kernel/debug/ttm/backup_fault_inject
echo 100 > probability
echo 3000 > interval
echo -1 > times
echo 0 > space
echo 0 > verbose
echo M > task-filter
cd -

Matt

[1] https://patchwork.freedesktop.org/series/165330/
[2] https://patchwork.freedesktop.org/series/165877/

v3:
 - Address sashiko concerns
v4:
 - Actual 'Save alloc in snapshot on restore failure (sashiko)' (missed
   local change)
v5:
 - Reordert tm_pool_apply_caching before restore free (sashiko)
 - Add ttm_pool_backup_folio helper (Thomas)

Matthew Brost (2):
  drm/ttm: Drop tt->restore after successful restore
  drm/ttm/pool: back up at native page order

 drivers/gpu/drm/ttm/ttm_pool.c | 125 ++++++++++++++++++++++++++++-----
 1 file changed, 106 insertions(+), 19 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-05-06 18:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-05 20:04 [PATCH v5 0/2] TTM shrinker fragmentation / partial restore fixes Matthew Brost
2026-05-05 20:04 ` [PATCH v5 1/2] drm/ttm: Drop tt->restore after successful restore Matthew Brost
2026-05-05 20:04 ` [PATCH v5 2/2] drm/ttm/pool: back up at native page order Matthew Brost
2026-05-06 14:23   ` Thomas Hellström
2026-05-06 16:14     ` Matthew Brost
2026-05-06 16:16       ` Matthew Brost
2026-05-06 16:26       ` Thomas Hellström
2026-05-06 18:05         ` Matthew Brost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox