[Intel-xe] [PATCH v2 0/6] drm/xe: Eviction fixes and optimizations

Thomas Hellström thomas.hellstrom at linux.intel.com
Mon Jun 19 15:22:16 UTC 2023


MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Attempt to fix some xe_evict igt tests, and allow for pipelined eviction.
Some tests, like evict-large-multi-vm-cm still fail due to memory
allocation errors, and those may require some deeper TTM surgery.

Moving forward we should also look at moving out same-vm bos to TT that
has XE_PL_TT as a compatible placement when VRAM is full.

v2:
- Minor fixes to address review comments from Matthew Brost
- Proper Cc for the TTM patch 6.

Thomas Hellström (6):
  drm/xe/bo: Don't limit the TT manager to half of system memory
  drm/xe/bo: Fix swapin when moving to VRAM
  drm/xe/bo: Avoid creating a system resource when allocating a fresh
    VRAM bo
  drm/xe/bo: Gracefully handle errors from ttm_bo_move_accel_cleanup().
  drm/xe/bo: Evict VRAM to TT rather than to system
  drm/ttm: Don't shadow the operation context

 drivers/gpu/drm/ttm/ttm_bo.c        |  3 +-
 drivers/gpu/drm/xe/xe_bo.c          | 73 ++++++++++++++++++++---------
 drivers/gpu/drm/xe/xe_ttm_sys_mgr.c |  2 -
 3 files changed, 52 insertions(+), 26 deletions(-)

-- 
2.40.1



More information about the Intel-xe mailing list