Hi all, This series adds support for perf queries on CNL. It depends on a new kernel uAPI so I don't expect this to land just yet. The uAPI has received enough review this can be look after from the Mesa side.
It's a bit verbose unfortunately because we have to support multiple ways to getting somewhat similar information across kernels versions :( One of the patch is quite big so, unlikely to make it to the ml. You can look at this series on my github : https://github.com/djdeath/mesa/tree/wip/djdeath/query-topology Thanks, Lionel Landwerlin (4): drm-uapi: bump headers i965: perf: query topology i965: perf: add support for new equation operators i965: add performance query support on CNL include/drm-uapi/i915_drm.h | 146 +- src/mesa/drivers/dri/i965/Makefile.sources | 4 +- src/mesa/drivers/dri/i965/brw_context.h | 14 + src/mesa/drivers/dri/i965/brw_oa.py | 15 + src/mesa/drivers/dri/i965/brw_oa_cnl.xml | 10410 ++++++++++++++++++++ src/mesa/drivers/dri/i965/brw_performance_query.c | 270 +- src/mesa/drivers/dri/i965/meson.build | 2 +- 7 files changed, 10785 insertions(+), 76 deletions(-) create mode 100644 src/mesa/drivers/dri/i965/brw_oa_cnl.xml -- 2.16.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev