anv: Stop fetching the timestamp frequency ourselves
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 19 Mar 2020 21:23:01 +0000 (16:23 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 24 Mar 2020 06:28:28 +0000 (06:28 +0000)
commitbe451f71ab37e6bf1bf2bc24580de202783b4331
treea84df418154a42cb8c81742660042952d10d6209
parentd63d0006860ac079f411c1f0d81101741a22af10
anv: Stop fetching the timestamp frequency ourselves

gen_get_device_info_from_fd fetches the timestamp frequency from the
kernel.  ANV also carrying code for it is redundant.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4250>
src/intel/vulkan/anv_device.c