diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-02-01 03:48:49 +0300 |
---|---|---|
committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2024-02-08 11:49:29 +0300 |
commit | 21abf108a062fa0323077b5ba3d26e2c0bba9232 (patch) | |
tree | bead2f4e4420b41b19ddcbea5bc68bb692cbe792 /drivers/ptp/ptp_kvm_common.c | |
parent | fc29b6d5ab5395dcb9f35de71e0347f3a6bca542 (diff) | |
download | linux-21abf108a062fa0323077b5ba3d26e2c0bba9232.tar.xz |
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>
Diffstat (limited to 'drivers/ptp/ptp_kvm_common.c')
0 files changed, 0 insertions, 0 deletions