[Intel-xe] [PATCH v3 0/4] drm/xe: Eviction fixes and optimizations

Thomas Hellström thomas.hellstrom at linux.intel.com
Mon Jun 26 18:17:37 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.

v3:
- Remove patch 1 and 6
- Fix a NULL pointer dereference

Thomas Hellström (4):
  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

 drivers/gpu/drm/xe/xe_bo.c | 75 ++++++++++++++++++++++++++------------
 1 file changed, 52 insertions(+), 23 deletions(-)

-- 
2.40.1



More information about the Intel-xe mailing list