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
