intel: common: express timestamps units in frequency
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 15 Jun 2017 14:22:19 +0000 (15:22 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 19 Jun 2017 21:11:00 +0000 (22:11 +0100)
commitc77d98ef32a0f9763d4c8945527d00ab98e748cc
tree551f2c24e046e091182dcb9b9326b07cfade4e56
parente5743ee014a82f228085dfcd5d653fcbd3d86fe4
intel: common: express timestamps units in frequency

Rather than storing the period as a double that looses some precision.

Also fixes the Gen9LP timestamp frequency which is no 19200123 but
19200000 as pointed by Ville :

https://lists.freedesktop.org/archives/intel-gfx/2017-April/125126.html

Finally add the Cannonlake timestamp frequency.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/common/gen_device_info.c
src/intel/common/gen_device_info.h
src/intel/vulkan/anv_device.c
src/mesa/drivers/dri/i965/brw_queryobj.c