Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH v3 0/4] drm/xe: Eviction fixes and optimizations
@ 2023-06-26 18:17 Thomas Hellström
  2023-06-26 18:17 ` [Intel-xe] [PATCH v3 1/4] drm/xe/bo: Fix swapin when moving to VRAM Thomas Hellström
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Thomas Hellström @ 2023-06-26 18:17 UTC (permalink / raw)
  To: intel-xe

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


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

end of thread, other threads:[~2023-06-27  8:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26 18:17 [Intel-xe] [PATCH v3 0/4] drm/xe: Eviction fixes and optimizations Thomas Hellström
2023-06-26 18:17 ` [Intel-xe] [PATCH v3 1/4] drm/xe/bo: Fix swapin when moving to VRAM Thomas Hellström
2023-06-26 18:17 ` [Intel-xe] [PATCH v3 2/4] drm/xe/bo: Avoid creating a system resource when allocating a fresh VRAM bo Thomas Hellström
2023-06-27  8:54   ` Matthew Auld
2023-06-26 18:17 ` [Intel-xe] [PATCH v3 3/4] drm/xe/bo: Gracefully handle errors from ttm_bo_move_accel_cleanup() Thomas Hellström
2023-06-27  8:55   ` Matthew Auld
2023-06-26 18:17 ` [Intel-xe] [PATCH v3 4/4] drm/xe/bo: Evict VRAM to TT rather than to system Thomas Hellström
2023-06-26 18:20 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Eviction fixes and optimizations (rev3) Patchwork
2023-06-26 18:20 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-06-26 18:22 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-06-26 18:25 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-06-26 18:26 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-06-26 18:27 ` [Intel-xe] ✓ CI.checksparse: " Patchwork
2023-06-26 19:11 ` [Intel-xe] ○ CI.BAT: info " Patchwork

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