mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
anv/xe: return failure in case waiting for the vm_bind syncobj fails
Don't hide failures, we have xe.ko bugs related to that, such as:
https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/496
The bind ioctl may fail if the application does something wrong, but
the wait really should never fail.
v2: Don't print an error message (Lionel).
Reviewed-by: José Roberto de Souza <jose.souza@intel.com> (v1)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24681>
This commit is contained in:
parent
935a1d2c8f
commit
9a7c6ae32c
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ xe_vm_bind_op(struct anv_device *device, int num_binds,
|
|||
.first_signaled = 0,
|
||||
.pad = 0,
|
||||
};
|
||||
intel_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_WAIT, &wait);
|
||||
ret = intel_ioctl(device->fd, DRM_IOCTL_SYNCOBJ_WAIT, &wait);
|
||||
|
||||
bind_error:
|
||||
STACK_ARRAY_FINISH(xe_binds_stackarray);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue