static struct dma_fence *
 xe_vm_prefetch(struct xe_vm *vm, struct xe_vma *vma,
-              struct xe_exec_queue *q, u32 region,
-              struct xe_sync_entry *syncs, u32 num_syncs,
-              bool first_op, bool last_op)
+              struct xe_exec_queue *q, struct xe_sync_entry *syncs,
+              u32 num_syncs, bool first_op, bool last_op)
 {
        struct xe_exec_queue *wait_exec_queue = to_wait_exec_queue(vm, q);
-       int err;
-
-       xe_assert(vm->xe, region < ARRAY_SIZE(region_to_mem_type));
-
-       if (!xe_vma_has_no_bo(vma)) {
-               err = xe_bo_migrate(xe_vma_bo(vma), region_to_mem_type[region]);
-               if (err)
-                       return ERR_PTR(err);
-       }
 
        if (vma->tile_mask != (vma->tile_present & ~vma->tile_invalidated)) {
                return xe_vm_bind(vm, vma, q, xe_vma_bo(vma), syncs, num_syncs,
                                     op->flags & XE_VMA_OP_LAST);
                break;
        case DRM_GPUVA_OP_PREFETCH:
-               fence = xe_vm_prefetch(vm, vma, op->q, op->prefetch.region,
-                                      op->syncs, op->num_syncs,
+               fence = xe_vm_prefetch(vm, vma, op->q, op->syncs, op->num_syncs,
                                       op->flags & XE_VMA_OP_FIRST,
                                       op->flags & XE_VMA_OP_LAST);
                break;
                                            false);
                break;
        case DRM_GPUVA_OP_PREFETCH:
+       {
+               struct xe_vma *vma = gpuva_to_vma(op->base.prefetch.va);
+               u32 region = op->prefetch.region;
+
+               xe_assert(vm->xe, region <= ARRAY_SIZE(region_to_mem_type));
+
                err = vma_lock_and_validate(exec,
-                                           gpuva_to_vma(op->base.prefetch.va), true);
+                                           gpuva_to_vma(op->base.prefetch.va),
+                                           false);
+               if (!err && !xe_vma_has_no_bo(vma))
+                       err = xe_bo_migrate(xe_vma_bo(vma),
+                                           region_to_mem_type[region]);
                break;
+       }
        default:
                drm_warn(&vm->xe->drm, "NOT POSSIBLE");
        }