Hi all, We've had some timestamp related issues on Gen10. Those are mostly related to the fact that the frequency of the timestamps is variable depending on the part you get. There is no way to tell from the PCI-id, you can only get that information by reading a couple of registers.
We introduced a new parameter to query in the kernel to expose that information. This seems like it's going to land in 4.16. Here are the userspace patches making use of that new param. Cheers, Lionel Landwerlin (3): drm-uapi: Update drm/i915 headers from drm-next i965: read CS timestamp frequency from the kernel on Gen10+ anv: query CS timestamp frequency from the kernel include/drm-uapi/README | 8 ++-- include/drm-uapi/drm.h | 41 +++++++++++++++++++ include/drm-uapi/drm_mode.h | 70 +++++++++++++++++++++++++++++++- include/drm-uapi/i915_drm.h | 38 +++++++++++++++++ src/intel/vulkan/anv_device.c | 13 ++++++ src/mesa/drivers/dri/i965/intel_screen.c | 24 +++++++++++ 6 files changed, 188 insertions(+), 6 deletions(-) -- 2.15.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev