Broxton's reference clock for timestamps runs at 19.2MHz and gives us a period of 52.083 nanoseconds.
Signed-off-by: Robert Bragg <rob...@sixbynine.org> --- src/intel/vulkan/anv_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 014b2f7d9c..d9eba859a1 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -535,7 +535,8 @@ void anv_GetPhysicalDeviceProperties( ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); const struct gen_device_info *devinfo = &pdevice->info; - const float time_stamp_base = devinfo->gen >= 9 ? 83.333 : 80.0; + const float time_stamp_base = (devinfo->gen < 9 ? 80.0 : + (devinfo->is_broxton ? 52.083 : 83.333)); /* See assertions made when programming the buffer surface state. */ const uint32_t max_raw_buffer_sz = devinfo->gen >= 7 ? -- 2.12.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev