anv: query CS timestamp frequency from the kernel
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 4 Dec 2017 15:22:12 +0000 (15:22 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 4 Dec 2017 18:05:20 +0000 (18:05 +0000)
commit2ead8f1690823bbb1acb8102bb6ceee26e8574b1
treec566a7b906488e3b3e9f28a2529f7dadbf272801
parentb66e4b51bfc82621e590e6be8972a30958c0a08a
anv: query CS timestamp frequency from the kernel

The reference value in gen_device_info isn't going to be acurate on
Gen10+. We should query it from the kernel, which reads a couple of
register to compute the actual value.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/intel/vulkan/anv_device.c