venus: Fix dEQP-VK.pipeline.timestamp.calibrated.host_domain_test failure
authorIgor Torrente <igor.torrente@collabora.com>
Fri, 26 Aug 2022 14:22:55 +0000 (11:22 -0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 00:54:24 +0000 (00:54 +0000)
commit1ebfa00bc5eedcddccc18c309d04681adbb231b9
tree9ab7839dd9dab54907e281556fcb8090133d575d
parenta0b08e28588618d0c111e8ed695fdbdc6fc2ff07
venus: Fix dEQP-VK.pipeline.timestamp.calibrated.host_domain_test failure

The current implementation is getting its clock value from the host
and this value is not guaranteed to be the same as the VM guest.

This commit implements the CLOCK_MONOTONIC[_RAW] natively.

Signed-off-by: Igor Torrente <igor.torrente@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18281>
src/virtio/ci/venus-fails.txt
src/virtio/vulkan/vn_device.c