Matthew Brost 21abf108a0 drm/xe: Pick correct userptr VMA to repin on REMAP op failure
A REMAP op is composed of 3 VMA's - unmap, prev map, and next map. When
op_execute fails with -EAGAIN we need to update the local VMA pointer to
the current op state and then repin the VMA if it is a userptr.

Fixes a failure seen in xe_vm.munmap-style-unbind-userptr-one-partial.

Fixes: b06d47be7c83 ("drm/xe: Port Xe to GPUVA")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240201004849.2219558-3-matthew.brost@intel.com
(cherry picked from commit 447f74d223b4f6cbab74963bf1099050c15374ce)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
2024-02-08 09:49:29 +01:00
..
2023-11-27 13:56:32 -06:00
2023-11-27 13:56:32 -06:00
2024-01-25 14:22:15 +10:00
2024-01-18 21:10:41 +01:00
2023-11-15 10:56:44 +01:00
2024-01-12 11:32:19 -08:00
2023-11-27 13:56:32 -06:00
2024-01-22 09:44:15 +01:00
2023-12-12 11:32:33 +10:00
2023-12-04 09:42:32 +01:00
2024-01-12 14:59:50 -08:00
2024-01-18 21:10:41 +01:00
2024-01-22 09:44:15 +01:00
2024-01-12 11:32:19 -08:00
2024-01-12 11:32:19 -08:00
2024-01-12 11:32:19 -08:00
2023-08-24 07:26:06 +10:00
2024-01-12 11:32:19 -08:00