Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/3] Add a minimum age gate to the shrinker + LRU fixes
@ 2026-11-02 22:32 Matthew Brost
  2026-11-02 22:32 ` [PATCH v7 1/3] drm/xe: Bump the LRU on a successful page fault Matthew Brost
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Matthew Brost @ 2026-11-02 22:32 UTC (permalink / raw)
  To: intel-xe, dri-devel

Fix misuse of the TTM LRU in Xe + add a minimum age gate to the shrinker
which is hidden behind a Kconfig for shrinker tuning.

Matt

Matthew Brost (3):
  drm/xe: Bump the LRU on a successful page fault
  drm/ttm: Allow skipping to the next priority in the bo LRU cursor
  drm/xe: Add a minimum age gate to the shrinker

 drivers/gpu/drm/ttm/ttm_bo_util.c    |  19 ++++
 drivers/gpu/drm/ttm/ttm_resource.c   |  33 +++++-
 drivers/gpu/drm/xe/Kconfig.profile   |  15 +++
 drivers/gpu/drm/xe/xe_bo.c           |  87 ++++++++++++++
 drivers/gpu/drm/xe/xe_bo.h           |   5 +
 drivers/gpu/drm/xe/xe_bo_types.h     |   8 ++
 drivers/gpu/drm/xe/xe_device_sysfs.c |  35 ++++++
 drivers/gpu/drm/xe/xe_pagefault.c    |   7 ++
 drivers/gpu/drm/xe/xe_shrinker.c     | 164 +++++++++++++++++++++++++--
 drivers/gpu/drm/xe/xe_shrinker.h     |   3 +
 drivers/gpu/drm/xe/xe_vm.c           |   6 +-
 drivers/gpu/drm/xe/xe_vm_types.h     |   8 ++
 include/drm/ttm/ttm_bo.h             |   2 +
 include/drm/ttm/ttm_resource.h       |   1 +
 14 files changed, 379 insertions(+), 14 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-11-03  2:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-02 22:32 [PATCH v7 0/3] Add a minimum age gate to the shrinker + LRU fixes Matthew Brost
2026-11-02 22:32 ` [PATCH v7 1/3] drm/xe: Bump the LRU on a successful page fault Matthew Brost
2026-11-02 22:32 ` [PATCH v7 2/3] drm/ttm: Allow skipping to the next priority in the bo LRU cursor Matthew Brost
2026-11-02 22:32 ` [PATCH v7 3/3] drm/xe: Add a minimum age gate to the shrinker Matthew Brost
2026-11-02 22:54   ` sashiko-bot
2026-11-03  0:03 ` ✗ CI.checkpatch: warning for Add a minimum age gate to the shrinker + LRU fixes (rev4) Patchwork
2026-11-03  0:05 ` ✓ CI.KUnit: success " Patchwork
2026-11-03  0:54 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-03  2:55 ` ✗ Xe.CI.FULL: failure " Patchwork

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