drm/xe: VM LRU bulk move
authorMatthew Brost <matthew.brost@intel.com>
Wed, 7 Jun 2023 15:45:20 +0000 (08:45 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:34:53 +0000 (11:34 -0500)
commit7ba4c5f02763cc423bfa0c6a87a8dd5501dc3417
treeeae2e1c715574a78895245d7ea9b0b56ae9a25fc
parent73c09901b0240bb6acdd957330e456e808ec52e6
drm/xe: VM LRU bulk move

Use the TTM LRU bulk move for BOs tied to a VM. Update the bulk moves
LRU position on every exec.

v2: Bulk move for compute VMs, use WARN rather than BUG

Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_bo.c
drivers/gpu/drm/xe/xe_bo.h
drivers/gpu/drm/xe/xe_dma_buf.c
drivers/gpu/drm/xe/xe_exec.c
drivers/gpu/drm/xe/xe_vm.c
drivers/gpu/drm/xe/xe_vm_types.h