anv: properly handle fence import of sync_fd = -1
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 18 Jul 2020 19:51:44 +0000 (22:51 +0300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 22 Jul 2020 05:07:05 +0000 (05:07 +0000)
commit3a4024e776645714dc728e48108755877b37131a
tree70c203a2662720b9ea9f6ee0fdf5432e515528b4
parent323d5bbfd9a1d6684bb5381b67b8965ea98d5fc0
anv: properly handle fence import of sync_fd = -1

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 43e8808b82b9eb ("anv: Add support for the SYNC_FD handle type for fences")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5964>
src/intel/vulkan/anv_queue.c