Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/xe: Adjust the bo shrinker batch size
@ 2026-05-12 13:53 Thomas Hellström
  2026-05-12 13:53 ` [PATCH 1/2] drm/xe: Track number of populated ttm_tts in the shrinker Thomas Hellström
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Thomas Hellström @ 2026-05-12 13:53 UTC (permalink / raw)
  To: intel-xe; +Cc: Thomas Hellström, Matthew Auld, Maarten Lankhorst

Shamelessly stolen from i915, To avoid gpu stalls for small
shrinker request, Set the shrinker batch size to the average
size of system buffer objects. Use the number of
populated struct ttm_tts to compute the average size.

Thomas Hellström (2):
  drm/xe: Track number of populated ttm_tts in the shrinker
  drm/xe: Update shrinker batch size based on average BO size

 drivers/gpu/drm/xe/xe_bo.c       | 12 ++++++------
 drivers/gpu/drm/xe/xe_shrinker.c | 32 ++++++++++++++++++++++++++++----
 drivers/gpu/drm/xe/xe_shrinker.h |  3 ++-
 3 files changed, 36 insertions(+), 11 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-05-13 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 13:53 [PATCH 0/2] drm/xe: Adjust the bo shrinker batch size Thomas Hellström
2026-05-12 13:53 ` [PATCH 1/2] drm/xe: Track number of populated ttm_tts in the shrinker Thomas Hellström
2026-05-12 13:53 ` [PATCH 2/2] drm/xe: Update shrinker batch size based on average BO size Thomas Hellström
2026-05-13  1:07 ` ✓ CI.KUnit: success for drm/xe: Adjust the bo shrinker batch size Patchwork
2026-05-13  2:28 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-13 20:40 ` ✗ 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