[Mesa-dev] [PATCH v2 0/8] i965: add support for performance queries on CNL

Lionel Landwerlin lionel.g.landwerlin at intel.com
Wed Mar 14 17:19:06 UTC 2018


Hi all,

Here a v2 to enable perf queries on CNL.

It moves some of the data stored into the brw_context into
gen_device_info. The makes it reusable by other API (Vulkan) if they
develop perf queries capabilities in the future.

One of the patch is quite big, you can look at this series on my
github :

   https://github.com/djdeath/mesa/tree/wip/djdeath/query-topology

Thanks,


Lionel Landwerlin (8):
  intel: devinfo: store number of EUs per subslice
  intel: devinfo: store slice/subslice/eu masks
  drm-uapi: bump headers
  intel: devinfo: meson: include drm uapi
  intel: devinfo: add helper functions to fill fusing masks values
  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/intel/dev/gen_device_info.c                   |   207 +-
 src/intel/dev/gen_device_info.h                   |    55 +-
 src/intel/dev/meson.build                         |     2 +-
 src/mesa/drivers/dri/i965/Makefile.am             |     1 +
 src/mesa/drivers/dri/i965/Makefile.sources        |     4 +-
 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 |   185 +-
 src/mesa/drivers/dri/i965/meson.build             |     2 +-
 10 files changed, 10949 insertions(+), 78 deletions(-)
 create mode 100644 src/mesa/drivers/dri/i965/brw_oa_cnl.xml

--
2.16.2


More information about the mesa-dev mailing list