anv/xe: return failure in case waiting for the vm_bind syncobj fails
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 9 Aug 2023 00:14:49 +0000 (17:14 -0700)
committerMarge Bot <emma+marge@anholt.net>
Mon, 11 Sep 2023 16:04:02 +0000 (16:04 +0000)
commit9a7c6ae32cdd0e7ab2c02f53256c7f6d07763f8b
treeeeeed605e81d7333ecfcfd4a4320534be400a715
parent935a1d2c8ff6ebe152221c04e699ddecb867e4ff
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>
src/intel/vulkan/xe/anv_kmd_backend.c