anv/xe: fix unbinding of userptr BOs
anv/xe: fix unbinding of userptr BOs
We can't pass bo->map to the ANV_VM_UNBIND_ALL operation, the Kernel
will reject the ioctl.
While this fixes an issue introduced in 19439624d9fa, the problem was
only detected after a8f7d26c2ba3 ("anv: change the vm_bind-related
kmd_backend vfuncs to return VkResult") because previously we'd just
silently ignore the error and leak the VMA.
Fixes: 19439624d9fa ("anv: Use DRM_XE_VM_BIND_OP_UNMAP_ALL to unbind whole bos")
Link: 19439624 ("anv: Use DRM_XE_VM_BIND_OP_UNMAP_ALL to unbind whole bos")
Cc: @zehortigoza