If no operations are generated for VM binds the out-syncs must still be
signaled.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
unwind_ops:
vm_bind_ioctl_ops_unwind(vm, ops, args->num_binds);
free_syncs:
+ for (i = 0; err == -ENODATA && i < num_syncs; i++)
+ xe_sync_entry_signal(&syncs[i], NULL, dma_fence_get_stub());
while (num_syncs--)
xe_sync_entry_cleanup(&syncs[num_syncs]);